Skip to content

Commit

Permalink
Fixing persistent option being forced to false when new database conn…
Browse files Browse the repository at this point in the history
…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
markstory committed May 9, 2009
1 parent 8b24d97 commit cd90f8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cake/console/libs/tasks/db_config.php
Expand Up @@ -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(
Expand Down

0 comments on commit cd90f8c

Please sign in to comment.