mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Fixing persistent option being forced to false when new database connections are baked. Fixes #6350
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8171 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
8b24d976f2
commit
cd90f8c74b
1 changed files with 1 additions and 1 deletions
|
@ -281,7 +281,7 @@ class DbConfigTask extends Shell {
|
||||||
if ($info['persistent'] === false) {
|
if ($info['persistent'] === false) {
|
||||||
$info['persistent'] = 'false';
|
$info['persistent'] = 'false';
|
||||||
} else {
|
} else {
|
||||||
$info['persistent'] = 'false';
|
$info['persistent'] = ($info['persistent'] == true) ? 'true' : 'false';
|
||||||
}
|
}
|
||||||
|
|
||||||
$oldConfigs[] = array(
|
$oldConfigs[] = array(
|
||||||
|
|
Loading…
Reference in a new issue