diff options
Diffstat (limited to 'settings/ajax/createuser.php')
-rw-r--r-- | settings/ajax/createuser.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/ajax/createuser.php b/settings/ajax/createuser.php index 22320b870e8..bdf7e4983ac 100644 --- a/settings/ajax/createuser.php +++ b/settings/ajax/createuser.php @@ -21,7 +21,7 @@ if($isadmin) { }else{ if(isset( $_POST["groups"] )) { $groups = array(); - foreach($_POST["groups"] as $group){ + foreach($_POST["groups"] as $group) { if(OC_SubAdmin::isGroupAccessible(OC_User::getUser(), $group)) { $groups[] = $group; } @@ -45,7 +45,7 @@ if( in_array( $username, OC_User::getUsers())) { // Return Success story try { OC_User::createUser($username, $password); - foreach( $groups as $i ){ + foreach( $groups as $i ) { if(!OC_Group::groupExists($i)) { OC_Group::createGroup($i); } |