mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Merge branch '1.3-bake' of dev@code.cakephp.org:cakephp into 1.3-bake
This commit is contained in:
commit
092f58ba79
1 changed files with 3 additions and 2 deletions
|
@ -56,9 +56,10 @@ class BakeShell extends Shell {
|
|||
if (isset($this->params['connection'])) {
|
||||
$this->{$task}->connection = $this->params['connection'];
|
||||
}
|
||||
foreach($this->args as &$arg) {
|
||||
foreach($this->args as $i => $arg) {
|
||||
if (strpos($arg, '.')) {
|
||||
list($this->params['plugin'], $arg) = explode('.', $arg);
|
||||
list($this->params['plugin'], $this->args[$i]) = explode('.', $arg);
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (isset($this->params['plugin'])) {
|
||||
|
|
Loading…
Reference in a new issue