Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Foellmann <foellmann@foe-services.de>2015-01-05 22:07:18 +0300
committerChristian Foellmann <foellmann@foe-services.de>2015-01-05 22:07:18 +0300
commit170cb05f4eec4322303658108f9eea6e55163e50 (patch)
treee9b7e9a7e287270392077d1099fe0b5dc54eeba1 /libraries/Menu.class.php
parentf3a2bbe4d8241664dbb92def1b413b616bfab1fd (diff)
UPDATE 4.3.54.3.5
Diffstat (limited to 'libraries/Menu.class.php')
-rw-r--r--libraries/Menu.class.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/libraries/Menu.class.php b/libraries/Menu.class.php
index 6d08c0134f..a9f2b15afb 100644
--- a/libraries/Menu.class.php
+++ b/libraries/Menu.class.php
@@ -130,11 +130,11 @@ class PMA_Menu
$allowedTabs = PMA_Util::getMenuTabList($level);
$cfgRelation = PMA_getRelationsParam();
if (isset($cfgRelation['menuswork']) && $cfgRelation['menuswork']) {
- $groupTable = PMA_Util::backquote($GLOBALS['cfg']['Server']['pmadb'])
+ $groupTable = PMA_Util::backquote($cfgRelation['db'])
. "."
- . PMA_Util::backquote($GLOBALS['cfg']['Server']['usergroups']);
- $userTable = PMA_Util::backquote($GLOBALS['cfg']['Server']['pmadb'])
- . "." . PMA_Util::backquote($GLOBALS['cfg']['Server']['users']);
+ . PMA_Util::backquote($cfgRelation['usergroups']);
+ $userTable = PMA_Util::backquote($cfgRelation['db'])
+ . "." . PMA_Util::backquote($cfgRelation['users']);
$sql_query = "SELECT `tab` FROM " . $groupTable
. " WHERE `allowed` = 'N'"