* 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
parent e8127f7da7
commit a75272b1bc

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')))