Permalink
Browse files

Fixing persistent option being forced to false when new database conn…

…ections are baked. Fixes #6350

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8171 3807eeeb-6ff5-0310-8944-8be069107fe0
  • Loading branch information...
1 parent 8b24d97 commit cd90f8c74bfb72bafd1e6dcf1d191f0207580be6 @markstory markstory committed May 9, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 cake/console/libs/tasks/db_config.php
View
2 cake/console/libs/tasks/db_config.php
@@ -281,7 +281,7 @@ function bake($configs) {
if ($info['persistent'] === false) {
$info['persistent'] = 'false';
} else {
- $info['persistent'] = 'false';
+ $info['persistent'] = ($info['persistent'] == true) ? 'true' : 'false';
}
$oldConfigs[] = array(

0 comments on commit cd90f8c

Please sign in to comment.