Browse Source

fixed wrong condition

tags/2.0.0-beta
Alexander Makarov 13 years ago
parent
commit
b1f9bf5b55
  1. 2
      framework/console/Command.php

2
framework/console/Command.php

@ -325,7 +325,7 @@ abstract class Command extends \yii\base\Component
} else {
echo $message;
$input = fgets(STDIN);
if($input === false) {
if($input !== false) {
$input = trim($input);
}
}

Loading…
Cancel
Save