diff options
author | Rouslan Placella <rouslan@placella.com> | 2012-04-04 23:04:19 +0400 |
---|---|---|
committer | Rouslan Placella <rouslan@placella.com> | 2012-04-04 23:04:58 +0400 |
commit | e60b73fab9d3933f6001dfea41f83c2223c3da11 (patch) | |
tree | 502533d130b7172a4cb8de83d6c9f64a15d00a02 /index.php | |
parent | 92319e6b499289af68c122d197e6feab63d063b2 (diff) |
Fixed broken redirect due to globals removal on expired session
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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']; } |