Avoid notice for undefined global

This commit is contained in:
Marc Delisle
2011-01-11 08:03:06 -05:00
parent 5ea6683d0e
commit 871a474a97

View File

@@ -103,9 +103,7 @@ if (strlen($db) && (! empty($db_rename) || ! empty($db_copy))) {
// go back to current db, just in case // go back to current db, just in case
PMA_DBI_select_db($db); PMA_DBI_select_db($db);
if (isset($GLOBALS['add_constraints']) || $move) { $GLOBALS['sql_constraints_query_full_db'] = array();
$GLOBALS['sql_constraints_query_full_db'] = array();
}
$tables_full = PMA_DBI_get_tables_full($db); $tables_full = PMA_DBI_get_tables_full($db);
$views = array(); $views = array();