From 871a474a9765b26dcce99249d692f0efef16c7c0 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Tue, 11 Jan 2011 08:03:06 -0500 Subject: [PATCH] Avoid notice for undefined global --- db_operations.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/db_operations.php b/db_operations.php index 94120d96f..b4a426355 100644 --- a/db_operations.php +++ b/db_operations.php @@ -103,9 +103,7 @@ if (strlen($db) && (! empty($db_rename) || ! empty($db_copy))) { // go back to current db, just in case 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); $views = array();