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 14d461c9f..a56847111 100644 --- a/backend.php +++ b/backend.php @@ -44,7 +44,7 @@ } if (!empty($_SESSION["uid"])) { - if (!\Sessions\validate_session()) { + if (!Sessions::validate_session()) { header("Content-Type: text/json"); print Errors::to_json(Errors::E_UNAUTHORIZED); |