diff --git a/ChangeLog b/ChangeLog index fcd674337..a661dd5d5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -70,6 +70,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA - bug #1717339 Missing header when deleting a checked column, thanks to Michael Keck - bug #1717477 Warning on Query page when db is empty +- bug #1721002 db rename -> undefined cfgRelation, thanks to Juergen Wind 2.10.1.0 (2007-04-23) ===================== diff --git a/libraries/Table.class.php b/libraries/Table.class.php index 717da94d9..96d5fd86b 100644 --- a/libraries/Table.class.php +++ b/libraries/Table.class.php @@ -474,7 +474,7 @@ class PMA_Table { { $last_id = -1; - if ($GLOBALS['cfgRelation'][$work]) { + if (isset($GLOBALS['cfgRelation']) && $GLOBALS['cfgRelation'][$work]) { $select_parts = array(); $row_fields = array(); foreach ($get_fields as $get_field) {