diff options
Diffstat (limited to 'engine/lib/sessions.php')
-rw-r--r-- | engine/lib/sessions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/sessions.php b/engine/lib/sessions.php index 62cf7e398..4b067da56 100644 --- a/engine/lib/sessions.php +++ b/engine/lib/sessions.php @@ -20,7 +20,7 @@ */
function isloggedin() {
- if ($_SESSION['guid'] > 0)
+ if ((isset($_SESSION['guid'])) && ($_SESSION['guid'] > 0))
return true;
return false;
|