Permalink
Browse files

Fixed notice when baking db config: Undefined variable 'driver'.

  • Loading branch information...
1 parent 7f0f224 commit be3d1039cae4674cd12215681691ab276770ac9f @majna committed Oct 18, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Console/Command/Task/DbConfigTask.php
View
2 lib/Cake/Console/Command/Task/DbConfigTask.php
@@ -283,7 +283,7 @@ public function bake($configs) {
$oldConfigs[] = array(
'name' => $configName,
- 'driver' => $info['driver'],
+ 'driver' => $info['datasource'],
'persistent' => $info['persistent'],
'host' => $info['host'],
'port' => $info['port'],

0 comments on commit be3d103

Please sign in to comment.