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:
authorRouslan Placella <rouslan@placella.com>2012-04-04 23:04:19 +0400
committerRouslan Placella <rouslan@placella.com>2012-04-04 23:04:58 +0400
commite60b73fab9d3933f6001dfea41f83c2223c3da11 (patch)
tree502533d130b7172a4cb8de83d6c9f64a15d00a02 /index.php
parent92319e6b499289af68c122d197e6feab63d063b2 (diff)
Fixed broken redirect due to globals removal on expired session
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 2b9346831e..16f1a73e8c 100644
--- a/index.php
+++ b/index.php
@@ -59,7 +59,7 @@ if (! strlen($GLOBALS['db'])) {
$url_query = PMA_generate_common_url($_GET);
-if (isset($_REQUEST['target']) && is_string($_REQUEST['target']) && !empty($_REQUEST['target']) && in_array($_REQUEST['target'], $goto_whitelist)) {
+if (! empty($_REQUEST['target']) && is_string($_REQUEST['target']) && in_array($_REQUEST['target'], $goto_whitelist)) {
$main_target = $_REQUEST['target'];
}