bug #1560152, after renaming a table the navigation does not work

This commit is contained in:
Marc Delisle
2006-09-22 21:27:10 +00:00
parent 39a06b2ac7
commit ea998c3766
2 changed files with 6 additions and 1 deletions

View File

@@ -5,6 +5,10 @@ phpMyAdmin - ChangeLog
$Id$
$Source$
2006-09-22 Marc Delisle <lem9@users.sourceforge.net>
* libraries/tbl_properties_links.inc.php: bug #1560152,
after renaming a table the navigation does not work
2006-09-20 Marc Delisle <lem9@users.sourceforge.net>
### 2.9.0 released from QA_2_9

View File

@@ -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;