aboutsummaryrefslogtreecommitdiffstats
path: root/settings/ajax/createuser.php
diff options
context:
space:
mode:
authorkondou <kondou@ts.unde.re>2013-04-17 15:32:03 +0200
committerkondou <kondou@ts.unde.re>2013-07-21 13:55:25 +0200
commit05084e03a08206b736abd04522e10c97cd3f2fc3 (patch)
tree1352f5011a523db520ee0e899db8426ecc3fc68f /settings/ajax/createuser.php
parent94fcbc736e3500e0107d8e4f1ce5a2133fcdd8d8 (diff)
downloadnextcloud-server-05084e03a08206b736abd04522e10c97cd3f2fc3.tar.gz
nextcloud-server-05084e03a08206b736abd04522e10c97cd3f2fc3.zip
Use !== and === in settings.
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{