diff --git a/settings/users.php b/settings/users.php index c8f5ef5ff3e..d779cc782ce 100644 --- a/settings/users.php +++ b/settings/users.php @@ -57,7 +57,7 @@ foreach($accessibleusers as $displayName => $uid) { "groups" => join( ", ", /*array_intersect(*/OC_Group::getUserGroups($uid)/*, OC_SubAdmin::getSubAdminsGroups(OC_User::getUser()))*/), 'quota'=>$quota, 'isQuotaUserDefined'=>$isQuotaUserDefined, - 'subadmin'=>implode(', ', OC_SubAdmin::getSubAdminsGroups($iuid))); + 'subadmin'=>implode(', ', OC_SubAdmin::getSubAdminsGroups($uid))); } foreach( $accessiblegroups as $i ) {