From 8403b60d9dcc0fa2d89bf67ff5e9f63d924ae7d8 Mon Sep 17 00:00:00 2001 From: Alexander Makarov Date: Sun, 9 Sep 2012 03:00:58 +0400 Subject: [PATCH] fixed anonymous console command params --- framework/console/Request.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/console/Request.php b/framework/console/Request.php index 195a840..b2c2679 100644 --- a/framework/console/Request.php +++ b/framework/console/Request.php @@ -56,7 +56,7 @@ class Request extends \yii\base\Request $name = $matches[1]; $this->params[$name] = isset($matches[3]) ? $matches[3] : true; } else { - $this->params['--args'][] = $param; + $this->params['args'][] = $param; } } }