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;