Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit 1455c59e0ce56d132094630a2f39f0e2d4c373ad 1 parent b983aa9
@majna majna authored
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
@@ -314,7 +314,7 @@ public function bake($configs) {
extract($config);
$out .= "\tpublic \${$name} = array(\n";
- $out .= "\t\t'datasource' => 'Database/{$driver}',\n";
+ $out .= "\t\t'datasource' => 'Database/{$datasource}',\n";
$out .= "\t\t'persistent' => {$persistent},\n";
$out .= "\t\t'host' => '{$host}',\n";
Please sign in to comment.
Something went wrong with that request. Please try again.