diff options
Diffstat (limited to 'app/Controller/User.php')
-rw-r--r-- | app/Controller/User.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controller/User.php b/app/Controller/User.php index 46d0214d..5dad4ef6 100644 --- a/app/Controller/User.php +++ b/app/Controller/User.php @@ -97,7 +97,7 @@ class User extends Base { $user = $this->user->getById($this->request->getIntegerParam('user_id')); - if (! $user) { + if (empty($user)) { $this->notfound(); } |