From fdb969f11e7fdc706f10454fe6547a4a46ec3fb8 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Tue, 19 Feb 2008 17:38:28 +0000 Subject: [PATCH] bug [GUI] Do not display the database name used by the previous user --- ChangeLog | 2 ++ libraries/navigation_header.inc.php | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 818d679c9..84911572c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -61,6 +61,8 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA - bug #1887204 [GUI] Order columns in result list messing up query - patch #1893538 [GUI] Display issues on Opera 9.50, thanks to Jürgen Wind - windkiel +- bug [GUI] Do not display the database name used by the previous user, + thanks to Ronny Görner 2.11.4.0 (2008-01-12) - bug #1843428 [GUI] Space issue with DROP/DELETE/ALTER TABLE diff --git a/libraries/navigation_header.inc.php b/libraries/navigation_header.inc.php index b67136965..6a8748e9d 100644 --- a/libraries/navigation_header.inc.php +++ b/libraries/navigation_header.inc.php @@ -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']