Browse Source

fixed anonymous console command params

tags/2.0.0-beta
Alexander Makarov 12 years ago
parent
commit
8403b60d9d
  1. 2
      framework/console/Request.php

2
framework/console/Request.php

@ -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;
} }
} }
} }

Loading…
Cancel
Save