* Calendar - merge placeholder {{participant_emails}} now includes group members for group invitations

This commit is contained in:
nathangray 2018-07-24 13:34:49 -06:00 committed by Hadi Nategh
parent 488eabe896
commit e9833d70ac

View File

@ -312,7 +312,11 @@ class calendar_merge extends Api\Storage\Merge
}
$emails = array();
foreach($record->participants as $uid => $status)
$event = array(
'participants' => $record->participants
);
$this->bo->enum_groups($event);
foreach($event['participants'] as $uid => $status)
{
// Skip rejected
if (in_array(substr($status, 0, 1), array('R')))