diff options
Diffstat (limited to 'backend.php')
-rw-r--r-- | backend.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend.php b/backend.php index dec79f46f..2ea396987 100644 --- a/backend.php +++ b/backend.php @@ -46,7 +46,7 @@ UserHelper::authenticate( "admin", null); } - if ($_SESSION["uid"]) { + if (!empty($_SESSION["uid"])) { if (!validate_session()) { header("Content-Type: text/json"); print error_json(6); |