initialized $columns in listTableColumns. it threw an undefined variable error if the table was missing or had no columns defined.
This commit is contained in:
parent
a476c62efe
commit
f6a0aeb5d7
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user