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:
mark_story 2009-05-09 14:24:44 +00:00
parent 8b24d976f2
commit cd90f8c74b

View file

@ -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(