Commit b1f9bf5b by Alexander Makarov

fixed wrong condition

parent 59977e34
...@@ -325,7 +325,7 @@ abstract class Command extends \yii\base\Component ...@@ -325,7 +325,7 @@ abstract class Command extends \yii\base\Component
} else { } else {
echo $message; echo $message;
$input = fgets(STDIN); $input = fgets(STDIN);
if($input === false) { if($input !== false) {
$input = trim($input); $input = trim($input);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment