summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);