diff --git a/library/Icinga/Authentication/UserGroup/DbUserGroupBackend.php b/library/Icinga/Authentication/UserGroup/DbUserGroupBackend.php index 66db97fdb..5299bbb7a 100644 --- a/library/Icinga/Authentication/UserGroup/DbUserGroupBackend.php +++ b/library/Icinga/Authentication/UserGroup/DbUserGroupBackend.php @@ -271,7 +271,7 @@ class DbUserGroupBackend extends DbRepository implements Inspectable, UserGroupB */ protected function persistGroupId($groupName) { - if (! $groupName || empty($groupName) || is_numeric($groupName)) { + if (empty($groupName) || is_numeric($groupName)) { return $groupName; }