diff --git a/library/Icinga/User.php b/library/Icinga/User.php index da894151f..71e4b47e4 100644 --- a/library/Icinga/User.php +++ b/library/Icinga/User.php @@ -446,7 +446,7 @@ class User */ public function isRemoteUser() { - return (count($this->remoteUserInformation)) ? true : false; + return ! empty($this->remoteUserInformation); } /**