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