DbUserGroupBackend: Remove unnecessary (! $groupName) check
This commit is contained in:
parent
54b3539896
commit
61b827a43c
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue