Skip to content
This repository
Browse code

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
Mark Story authored May 09, 2009

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  cake/console/libs/tasks/db_config.php
2  cake/console/libs/tasks/db_config.php
@@ -281,7 +281,7 @@ function bake($configs) {
281 281
 				if ($info['persistent'] === false) {
282 282
 					$info['persistent'] = 'false';
283 283
 				} else {
284  
-					$info['persistent'] = 'false';
  284
+					$info['persistent'] = ($info['persistent'] == true) ? 'true' : 'false';
285 285
 				}
286 286
 
287 287
 				$oldConfigs[] = array(

0 notes on commit cd90f8c

Please sign in to comment.
Something went wrong with that request. Please try again.