From 6a815b53b35489044b983060922763fb3ad2415a Mon Sep 17 00:00:00 2001 From: nathangray Date: Fri, 20 Jan 2017 08:55:57 -0700 Subject: [PATCH] Fix calendar owner search would only return 1 matching resource category --- calendar/inc/class.calendar_owner_etemplate_widget.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/inc/class.calendar_owner_etemplate_widget.inc.php b/calendar/inc/class.calendar_owner_etemplate_widget.inc.php index e3f4dd7b82..52298f582d 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) {