diff --git a/libraries/Table.class.php b/libraries/Table.class.php index 0ea558363..86063f233 100644 --- a/libraries/Table.class.php +++ b/libraries/Table.class.php @@ -275,6 +275,11 @@ class PMA_Table PMA_DBI_get_tables_full($db, $table); } + if (! isset(PMA_Table::$cache[$db][$table])) { + // happens when we enter the table creation dialog + return array(); + } + if (null === $info) { return PMA_Table::$cache[$db][$table]; }