WIP BBB: Take type C participants into account when counting for participants

This commit is contained in:
Hadi Nategh 2020-11-30 13:21:36 +01:00
parent c928c54877
commit 43ab2ccfb5

View File

@ -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