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

This commit is contained in:
Marc Delisle
2006-09-22 21:30:51 +00:00
parent 46114b6738
commit daa561c098
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-22 Sebastian Mendel <cybot_tm@users.sourceforge.net>
* libraries/ob.lib.php: refactored
* left.php: cleanup

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;