diff options
author | Benny Baumann <BenBE@geshi.org> | 2013-07-02 23:28:57 +0200 |
---|---|---|
committer | Benny Baumann <BenBE@geshi.org> | 2013-07-02 23:28:57 +0200 |
commit | 9963c51f118a5d11bf245dca15ab2cd716b58633 (patch) | |
tree | dd3d263fee456e8187e2f3bc43a324603edfe206 | |
parent | 80ee86d67a50f7da805ce70d3b8f3f23d165df6a (diff) | |
download | cacert-devel-bug-1176.tar.gz cacert-devel-bug-1176.tar.xz cacert-devel-bug-1176.zip |
bug 1176: Fix yet another stupid piece of legacy code begging to cause troublebug-1176
-rw-r--r-- | includes/loggedin.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/loggedin.php b/includes/loggedin.php index cdff74b..4f9b8e8 100644 --- a/includes/loggedin.php +++ b/includes/loggedin.php @@ -147,11 +147,11 @@ if($_SESSION['profile']['loggedin'] < 1) { - unset($_SESSION['_config']['oldlocation']); + $_SESSION['_config']['oldlocation'] = ''; foreach($_REQUEST as $key => $val) { - if($_SESSION['_config']['oldlocation']) + if('' != $_SESSION['_config']['oldlocation']) $_SESSION['_config']['oldlocation'] .= "&"; $key = str_replace(array("\n", "\r"), '', $key); |