aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/sessions.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/engine/lib/sessions.php b/engine/lib/sessions.php
index 4b067da56..f93f2f294 100644
--- a/engine/lib/sessions.php
+++ b/engine/lib/sessions.php
@@ -126,9 +126,11 @@
$_SESSION['code'] = $_COOKIE['elggperm'];
} else {
$_SESSION['id'] = -1;
+ $_SESSION['guid'] = -1;
}
} else {
$_SESSION['id'] = -1;
+ $_SESSION['guid'] = -1;
}
} else {
if (!empty($_SESSION['code'])) {
@@ -138,6 +140,7 @@
} else {
}
} else {
+ $_SESSION['guid'] = -1;
$_SESSION['id'] = -1;
}
}