diff --git a/ChangeLog b/ChangeLog index c83b8e67f..0ef6e084c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -14,6 +14,7 @@ $HeadURL$ - 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 a01fc0a6c..c72531714 100644 --- a/libraries/Table.class.php +++ b/libraries/Table.class.php @@ -466,7 +466,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) {