diff options
Diffstat (limited to 'settings/users.php')
-rw-r--r-- | settings/users.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/users.php b/settings/users.php index b2af60c60c7..3f12e23ea6b 100644 --- a/settings/users.php +++ b/settings/users.php @@ -59,7 +59,7 @@ foreach($accessibleusers as $uid => $displayName) { $users[] = array( "name" => $uid, "displayName" => $displayName, - "groups" => OC_Group::getUserGroups($uid), + "groups" => array_values(OC_Group::getUserGroups($uid)), 'quota' => $quota, 'isQuotaUserDefined' => $isQuotaUserDefined, 'subadmin' => OC_SubAdmin::getSubAdminsGroups($uid), |