bug [GUI] Do not display the database name used by the previous user

This commit is contained in:
Marc Delisle
2008-02-19 17:38:28 +00:00
parent 64bc379de6
commit 01c46dfd90
2 changed files with 5 additions and 1 deletions

View File

@@ -10,7 +10,9 @@
*
*/
if (empty($query_url)) {
$query_url = PMA_generate_common_url($db, $table);
// avoid putting here $db because it could display a db name
// to which the next user does not have access
$query_url = PMA_generate_common_url();
}
// display Logo, depending on $GLOBALS['cfg']['LeftDisplayLogo']