diff options
Diffstat (limited to 'app/php/components')
-rw-r--r-- | app/php/components/UserSelection.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/app/php/components/UserSelection.php b/app/php/components/UserSelection.php index 92b8463..7b10b40 100644 --- a/app/php/components/UserSelection.php +++ b/app/php/components/UserSelection.php @@ -58,12 +58,7 @@ class UserSelection extends TTemplateControl { }, $categories ); - usort( - $categories, - function($cat1, $cat2) { - return strcmp($cat1->Name, $cat2->Name); - } - ); + usort($categories, ['CalendarGroupDTO', '__compare']); return $categories; } return []; |