summaryrefslogtreecommitdiffstats
path: root/settings/ajax/createuser.php
diff options
context:
space:
mode:
Diffstat (limited to 'settings/ajax/createuser.php')
-rw-r--r--settings/ajax/createuser.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/ajax/createuser.php b/settings/ajax/createuser.php
index 56653bed6bd..205958f88d3 100644
--- a/settings/ajax/createuser.php
+++ b/settings/ajax/createuser.php
@@ -16,7 +16,7 @@ if(OC_User::isAdminUser(OC_User::getUser())) {
$groups[] = $group;
}
}
- if(count($groups) == 0) {
+ if(count($groups) === 0) {
$groups = OC_SubAdmin::getSubAdminsGroups(OC_User::getUser());
}
}else{