mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Update bakeshell so bake all
gets the correct connection name.
Fixes #3972
This commit is contained in:
parent
49d66af12e
commit
86dcebf28b
1 changed files with 3 additions and 0 deletions
|
@ -66,6 +66,9 @@ class BakeShell extends AppShell {
|
|||
$this->{$task}->connection = $this->params['connection'];
|
||||
}
|
||||
}
|
||||
if (isset($this->params['connection'])) {
|
||||
$this->connection = $this->params['connection'];
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue