From ca1c4f164cac674375c9f84232b04925f6021008 Mon Sep 17 00:00:00 2001 From: nathan Date: Wed, 26 Apr 2023 08:17:46 -0600 Subject: [PATCH] Calendar: Fix events not shown when showing calendar of a resource category --- calendar/inc/class.calendar_owner_etemplate_widget.inc.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/calendar/inc/class.calendar_owner_etemplate_widget.inc.php b/calendar/inc/class.calendar_owner_etemplate_widget.inc.php index 8e3bc74d5c..f03a413a3c 100644 --- a/calendar/inc/class.calendar_owner_etemplate_widget.inc.php +++ b/calendar/inc/class.calendar_owner_etemplate_widget.inc.php @@ -314,6 +314,10 @@ class calendar_owner_etemplate_widget extends Etemplate\Widget\Taglist { $value = array_merge($value, $value['label']); } + if($data['resources']) + { + $value['resources'] = $data['resources']; + } switch($type) { case 'r':