diff --git a/framework/console/Command.php b/framework/console/Command.php index a3c41bc..16ba810 100644 --- a/framework/console/Command.php +++ b/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); } }