* Calendar: When opening calendar as infolog, event participants (user accounts) are copied to infolog responsible

This commit is contained in:
nathan 2024-11-20 09:00:27 -07:00
parent 49f9e99dbf
commit 73b24282fb

View File

@ -2270,6 +2270,7 @@ class calendar_bo
'info_startdate' => $calendar['range_start'], 'info_startdate' => $calendar['range_start'],
//'info_enddate' => $calendar['range_end'] ? $calendar['range_end'] : $calendar['uid'] //'info_enddate' => $calendar['range_end'] ? $calendar['range_end'] : $calendar['uid']
'info_contact' => 'calendar:'.$data['id'], 'info_contact' => 'calendar:'.$data['id'],
'info_responsible' => array_keys($calendar['participant_types']['u'] ?? [])
); );
unset($content['id']); unset($content['id']);