Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit cd90f8c74bfb72bafd1e6dcf1d191f0207580be6 1 parent 8b24d97
@markstory markstory authored
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(
Please sign in to comment.
Something went wrong with that request. Please try again.