mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
parent
beb5bd7370
commit
62fff94808
@ -208,8 +208,8 @@ class DbUserGroupBackend extends DbRepository implements UserGroupBackendInterfa
|
||||
*/
|
||||
protected function persistGroupId($groupName)
|
||||
{
|
||||
if (is_int($groupName)) {
|
||||
return $groupName; // It's obviously already an id
|
||||
if (! $groupName || is_int($groupName)) {
|
||||
return $groupName; // It's obviously already an id or NULL
|
||||
}
|
||||
|
||||
$groupId = $this->ds
|
||||
|
Loading…
x
Reference in New Issue
Block a user