aboutsummaryrefslogtreecommitdiff
path: root/services/userservice.php
diff options
context:
space:
mode:
Diffstat (limited to 'services/userservice.php')
-rw-r--r--services/userservice.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/userservice.php b/services/userservice.php
index 9e3adca..3d2058f 100644
--- a/services/userservice.php
+++ b/services/userservice.php
@@ -127,7 +127,7 @@ class UserService {
if ($id = $this->getCurrentUserId())
$currentuser = $this->getUser($id);
else
- return;
+ return null;
}
return $currentuser;
}