Pārlūkot izejas kodu

Add missing variable (#3427)

When refactoring the install in #3368, a variable was unwillingly removed.
It's back in the code now.
Alexis Degrugillier 5 gadi atpakaļ
vecāks
revīzija
afc30cef3d
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      app/install.php

+ 1 - 0
app/install.php

@@ -396,6 +396,7 @@ function printStep1() {
 	<noscript><p class="alert alert-warn"><span class="alert-head"><?= _t('gen.short.attention') ?></span> <?= _t('install.javascript_is_better') ?></p></noscript>
 
 	<?php
+	$version = curl_version();
 	printStep1Template('php', $res['php'], [PHP_VERSION, FRESHRSS_MIN_PHP_VERSION]);
 	printStep1Template('pdo', $res['pdo']);
 	printStep1Template('curl', $res['curl'], [$version['version']]);