From e6c3f10d722b2a10745b33a21c8ec3a27f5de183 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Thu, 23 Oct 2014 12:57:45 -0400 Subject: [PATCH] bug #4571 Database Privileges link does not work Signed-off-by: Marc Delisle --- ChangeLog | 1 + server_privileges.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 2763231768..b30760c4ef 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,7 @@ phpMyAdmin - ChangeLog - bug #4259 reCaptcha sound session expired problem - bug #4557 PHP fatal error, undefined function __() - bug #4568 Date displayed incorrectly when charting a timeline +- bug #4571 Database Privileges link does not work 4.2.10.1 (2014-10-21) - bug #4562 [security] XSS in debug SQL output diff --git a/server_privileges.php b/server_privileges.php index 94f3ec2714..3c38fa17b7 100644 --- a/server_privileges.php +++ b/server_privileges.php @@ -290,7 +290,7 @@ if ($GLOBALS['is_ajax_request'] * Displays the links */ if (isset($_REQUEST['viewing_mode']) && $_REQUEST['viewing_mode'] == 'db') { - $_REQUEST['db'] = $_REQUEST['checkprivsdb']; + $GLOBALS['db'] = $_REQUEST['db'] = $_REQUEST['checkprivsdb']; $url_query .= '&goto=db_operations.php';