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:
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.php b/index.php
index f94bdbf2c1..574f96fd49 100644
--- a/index.php
+++ b/index.php
@@ -59,8 +59,8 @@ if (! strlen($GLOBALS['db'])) {
$url_query = PMA_generate_common_url($_GET);
-if (isset($GLOBALS['target']) && is_string($GLOBALS['target']) && !empty($GLOBALS['target']) && in_array($GLOBALS['target'], $goto_whitelist)) {
- $main_target = $GLOBALS['target'];
+if (isset($_REQUEST['target']) && is_string($_REQUEST['target']) && !empty($_REQUEST['target']) && in_array($_REQUEST['target'], $goto_whitelist)) {
+ $main_target = $_REQUEST['target'];
}
$main_target .= $url_query;