bug 1176: Set to empty string rather than unset to avoid warning on undefined variable
authorBenny Baumann <BenBE@geshi.org>
Wed, 26 Jun 2013 20:28:53 +0000 (22:28 +0200)
committerBenny Baumann <BenBE@geshi.org>
Wed, 26 Jun 2013 20:28:53 +0000 (22:28 +0200)
includes/loggedin.php

index 97ec2fa..cdff74b 100644 (file)
@@ -87,7 +87,7 @@
                                //session_unregister($key);
                        }
 
-                       unset($_SESSION['_config']['oldlocation']);
+                       $_SESSION['_config']['oldlocation'] = '';
 
                        foreach($_GET as $key => $val)
                        {