Keep provided order. Fixes adding users in calendar destroys the sort order.

This commit is contained in:
Nathan Gray 2015-08-24 23:47:47 +00:00
parent acaed9bcb4
commit cf87169a3d

View File

@ -226,7 +226,6 @@ class uiaccountsel
}
}
// sort users and groups alphabeticaly and put the groups behind the users
uasort($already_selected,strcasecmp);
uasort($users,strcasecmp);
uasort($groups,strcasecmp);
$select = $already_selected + $users + $groups;