summaryrefslogtreecommitdiff
path: root/includes/loggedin.php
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2013-06-25 23:07:16 +0200
committerBenny Baumann <BenBE@geshi.org>2013-06-25 23:07:16 +0200
commite89c06e4580f17a608b4c3164a1727069eb23b0f (patch)
tree15888aa1f4aa812600772a68402a1902b40e3469 /includes/loggedin.php
parentddfa705d6f3931cfac61360d20c5d530dca26398 (diff)
downloadcacert-devel-e89c06e4580f17a608b4c3164a1727069eb23b0f.tar.gz
cacert-devel-e89c06e4580f17a608b4c3164a1727069eb23b0f.tar.xz
cacert-devel-e89c06e4580f17a608b4c3164a1727069eb23b0f.zip
bug 1176: Fix Syntax issue of last patch
Diffstat (limited to 'includes/loggedin.php')
-rw-r--r--includes/loggedin.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/loggedin.php b/includes/loggedin.php
index 4fd9b49..9c7ac73 100644
--- a/includes/loggedin.php
+++ b/includes/loggedin.php
@@ -27,7 +27,7 @@
$_SESSION['profile'] = "";
foreach($_SESSION as $key => $value)
{
- if($key == '_config' || $key == 'mconn' || 'csrf_' = substr($key, 0, 5))
+ if($key == '_config' || $key == 'mconn' || 'csrf_' == substr($key, 0, 5))
continue;
if(is_int($key) || is_string($key))
unset($_SESSION[$key]);
@@ -53,7 +53,7 @@
$_SESSION['profile'] = "";
foreach($_SESSION as $key => $value)
{
- if($key == '_config' || $key == 'mconn' || 'csrf_' = substr($key, 0, 5))
+ if($key == '_config' || $key == 'mconn' || 'csrf_' == substr($key, 0, 5))
continue;
if(is_int($key) || is_string($key))
unset($_SESSION[$key]);
@@ -72,7 +72,7 @@
$_SESSION['profile'] = "";
foreach($_SESSION as $key => $value)
{
- if($key == '_config' || $key == 'mconn' || 'csrf_' = substr($key, 0, 5))
+ if($key == '_config' || $key == 'mconn' || 'csrf_' == substr($key, 0, 5))
continue;
unset($_SESSION[$key]);
unset($$key);