summaryrefslogtreecommitdiff
path: root/includes/loggedin.php
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2013-07-02 23:28:57 +0200
committerBenny Baumann <BenBE@geshi.org>2013-07-02 23:28:57 +0200
commit9963c51f118a5d11bf245dca15ab2cd716b58633 (patch)
treedd3d263fee456e8187e2f3bc43a324603edfe206 /includes/loggedin.php
parent80ee86d67a50f7da805ce70d3b8f3f23d165df6a (diff)
downloadcacert-devel-9963c51f118a5d11bf245dca15ab2cd716b58633.tar.gz
cacert-devel-9963c51f118a5d11bf245dca15ab2cd716b58633.tar.xz
cacert-devel-9963c51f118a5d11bf245dca15ab2cd716b58633.zip
bug 1176: Fix yet another stupid piece of legacy code begging to cause troublebug-1176
Diffstat (limited to 'includes/loggedin.php')
-rw-r--r--includes/loggedin.php4
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);