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…
Reference in New Issue