From cf87169a3d2831e17e179b01055a2d27519d11e7 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Mon, 24 Aug 2015 23:47:47 +0000 Subject: [PATCH] Keep provided order. Fixes adding users in calendar destroys the sort order. --- phpgwapi/inc/class.uiaccountsel.inc.php | 1 - 1 file changed, 1 deletion(-) diff --git a/phpgwapi/inc/class.uiaccountsel.inc.php b/phpgwapi/inc/class.uiaccountsel.inc.php index 2d7d5dfef2..f05be95cc4 100644 --- a/phpgwapi/inc/class.uiaccountsel.inc.php +++ b/phpgwapi/inc/class.uiaccountsel.inc.php @@ -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;