From 3d54060945b6ef3968e40f812c1ca7663fb5943b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Thu, 27 Jan 2011 10:01:17 +0100 Subject: [PATCH] Generate reload params on place where they are used. This fixes reloading navigation frame when database is selected. --- libraries/navigation_header.inc.php | 4 ++++ navigation.php | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libraries/navigation_header.inc.php b/libraries/navigation_header.inc.php index 2b4606e29..fa5255a56 100644 --- a/libraries/navigation_header.inc.php +++ b/libraries/navigation_header.inc.php @@ -101,6 +101,10 @@ if ($GLOBALS['cfg']['LeftDisplayLogo']) { echo ''; echo ' ' . PMA_showMySQLDocu('', '', TRUE) . "\n"; + $params = array('uniqid' => uniqid()); + if (!empty($GLOBALS['db'])) { + $params['db'] = $GLOBALS['db']; + } echo ''; if ($GLOBALS['cfg']['MainPageIconic']) { echo ' uniqid()); - if (!empty($GLOBALS['db'])) { - $params['db'] = $GLOBALS['db']; - } echo ''; exit; }