diff --git a/calendar/inc/class.calendar_owner_etemplate_widget.inc.php b/calendar/inc/class.calendar_owner_etemplate_widget.inc.php index 2d2252a45f..c9913d30d4 100644 --- a/calendar/inc/class.calendar_owner_etemplate_widget.inc.php +++ b/calendar/inc/class.calendar_owner_etemplate_widget.inc.php @@ -193,7 +193,7 @@ class calendar_owner_etemplate_widget extends Etemplate\Widget\Taglist continue; } - foreach(array_unique($_results) as $id => $title) + foreach(array_unique($_results, SORT_REGULAR) as $id => $title) { if($id && $title) {