From 1b632b8649a919fff673749ddb940ca22e9cb9f9 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 b37b7103ee..aa20974585 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':