Skip to content

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

Closed
wants to merge 1 commit into from
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'],
Something went wrong with that request. Please try again.