Generate reload params on place where they are used.

This fixes reloading navigation frame when database is selected.
This commit is contained in:
Michal Čihař
2011-01-27 10:01:17 +01:00
parent 8252f8a4ca
commit 3d54060945
2 changed files with 4 additions and 4 deletions

View File

@@ -49,10 +49,6 @@ require_once './libraries/common.inc.php';
*/
function PMA_exitNavigationFrame()
{
$params = array('uniqid' => uniqid());
if (!empty($GLOBALS['db'])) {
$params['db'] = $GLOBALS['db'];
}
echo '</body></html>';
exit;
}