diff --git a/lib/Cake/Console/Command/Task/DbConfigTask.php b/lib/Cake/Console/Command/Task/DbConfigTask.php index 0bf28ff96..b9778a558 100644 --- a/lib/Cake/Console/Command/Task/DbConfigTask.php +++ b/lib/Cake/Console/Command/Task/DbConfigTask.php @@ -300,7 +300,7 @@ class DbConfigTask extends AppShell { } foreach ($oldConfigs as $key => $oldConfig) { - foreach ($configs as $key1 => $config) { + foreach ($configs as $k => $config) { if ($oldConfig['name'] == $config['name']) { unset($oldConfigs[$key]); }