From 4ad521e8df1e47d6633e9d7db75570a4c2487cf2 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 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) {