avoid the notice (introduced in revision 12119) when creating a table
This commit is contained in:
@@ -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];
|
||||
}
|
||||
|
Reference in New Issue
Block a user