diff options
Diffstat (limited to 'classes/handler/protected.php')
-rw-r--r-- | classes/handler/protected.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/handler/protected.php b/classes/handler/protected.php index 765b17480..8e9e5ca1d 100644 --- a/classes/handler/protected.php +++ b/classes/handler/protected.php @@ -2,6 +2,6 @@ class Handler_Protected extends Handler { function before($method) { - return parent::before($method) && $_SESSION['uid']; + return parent::before($method) && !empty($_SESSION['uid']); } } |