Commit 8403b60d by Alexander Makarov

fixed anonymous console command params

parent 89b57825
...@@ -56,7 +56,7 @@ class Request extends \yii\base\Request ...@@ -56,7 +56,7 @@ class Request extends \yii\base\Request
$name = $matches[1]; $name = $matches[1];
$this->params[$name] = isset($matches[3]) ? $matches[3] : true; $this->params[$name] = isset($matches[3]) ? $matches[3] : true;
} else { } else {
$this->params['--args'][] = $param; $this->params['args'][] = $param;
} }
} }
} }
......
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