undefined variable dblist_full when renaming a table

This commit is contained in:
Marc Delisle
2003-11-13 22:15:32 +00:00
parent cd6004c31b
commit 72faac32ba
2 changed files with 5 additions and 1 deletions

View File

@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
$Id$
$Source$
2003-11-13 Marc Delisle <lem9@users.sourceforge.net>
* libraries/common.lib.php3: undefined variable dblist_full when
renaming a table
2003-11-13 Michal Cihar <nijel@users.sourceforge.net>
* libraries/export/sql.php3: Fix export of foreign keys (patch #834474).
* libraries/export/sql.php3, libraries/config_import.lib.php3,

View File

@@ -1186,7 +1186,7 @@ h1 {font-family: sans-serif; font-size: large; font-weight: bold}
$only_db_check = FALSE;
} // end if (!$dblist_cnt)
if (!count($dblist_full)) {
if (isset($dblist_full) && !count($dblist_full)) {
$dblist = PMA_safe_db_list($only_db_check, $dbh, $dblist_cnt, $rs, $userlink, $cfg, $dblist);
}