Commit f6a0aeb5 authored by samw3's avatar samw3

initialized $columns in listTableColumns. it threw an undefined variable error...

initialized $columns in listTableColumns. it threw an undefined variable error if the table was missing or had no columns defined.
parent a476c62e
...@@ -120,6 +120,7 @@ class Doctrine_Import_Mysql extends Doctrine_Import ...@@ -120,6 +120,7 @@ class Doctrine_Import_Mysql extends Doctrine_Import
$result = $this->conn->fetchAssoc($sql); $result = $this->conn->fetchAssoc($sql);
$description = array(); $description = array();
$columns = array();
foreach ($result as $key => $val) { foreach ($result as $key => $val) {
$val = array_change_key_case($val, CASE_LOWER); $val = array_change_key_case($val, CASE_LOWER);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment