From 43ab2ccfb5301e96e03586560cc6259f01d48202 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Mon, 30 Nov 2020 13:21:36 +0100 Subject: [PATCH] WIP BBB: Take type C participants into account when counting for participants --- calendar/inc/class.calendar_boupdate.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/inc/class.calendar_boupdate.inc.php b/calendar/inc/class.calendar_boupdate.inc.php index 8b416c4114..9df523efe9 100644 --- a/calendar/inc/class.calendar_boupdate.inc.php +++ b/calendar/inc/class.calendar_boupdate.inc.php @@ -248,7 +248,7 @@ class calendar_boupdate extends calendar_bo && !EGroupware\Status\Hooks::isVideoconferenceDisabled() && ($videoconferenceResId = \EGroupware\Status\Hooks::getVideoconferenceResourceId())) { $event['participant_types']['r'][$videoconferenceResId] = - $event['participants']['r'.$videoconferenceResId] = 'A'.(count($event['participant_types']['u']) + count($event['participant_types']['e'])); + $event['participants']['r'.$videoconferenceResId] = 'A'.(count($event['participant_types']['u']) + count($event['participant_types']['e']) + count($event['participant_types']['c'])); } // check for conflicts only happens !$ignore_conflicts AND if start + end date are given