From ea998c37661af305d34e93cab79f01562c46fac5 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Fri, 22 Sep 2006 21:27:10 +0000 Subject: [PATCH] bug #1560152, after renaming a table the navigation does not work --- ChangeLog | 4 ++++ libraries/tbl_properties_links.inc.php | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 4a2b6386f..9bea8b3a0 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,10 @@ phpMyAdmin - ChangeLog $Id$ $Source$ +2006-09-22 Marc Delisle + * libraries/tbl_properties_links.inc.php: bug #1560152, + after renaming a table the navigation does not work + 2006-09-20 Marc Delisle ### 2.9.0 released from QA_2_9 diff --git a/libraries/tbl_properties_links.inc.php b/libraries/tbl_properties_links.inc.php index dbfe7943c..6c7de1999 100644 --- a/libraries/tbl_properties_links.inc.php +++ b/libraries/tbl_properties_links.inc.php @@ -17,7 +17,8 @@ require_once('./libraries/bookmark.lib.php'); /** * Set parameters for links */ -if (empty($url_query)) { +if (empty($url_query) +|| (isset($_POST['table']) && isset($_POST['new_name']) && $_POST['table'] != $_POST['new_name'])) { $url_query = PMA_generate_common_url($db, $table); } $url_params['db'] = $db;