From d16da0e73c3a9a3b29c88b75e9ea22b0a7006727 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Thu, 17 May 2007 21:57:15 +0000 Subject: [PATCH] bug #1721002 db rename -> undefined cfgRelation --- ChangeLog | 1 + libraries/Table.class.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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) {