diff options
Diffstat (limited to 'lib/private/group/manager.php')
-rw-r--r-- | lib/private/group/manager.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/group/manager.php b/lib/private/group/manager.php index dae6443e9d4..bf0910463dc 100644 --- a/lib/private/group/manager.php +++ b/lib/private/group/manager.php @@ -125,7 +125,7 @@ class Manager extends PublicEmitter { * @return \OC\Group\Group */ public function createGroup($gid) { - if (!$gid) { + if ($gid === '' || is_null($gid)) { return false; } else if ($group = $this->get($gid)) { return $group; |