* Calendar: notifications of type iCal use event-title as subject and describtion as body, like Exchange does, type extended provides old format

This commit is contained in:
Ralf Becker 2012-06-12 16:59:06 +00:00
parent 97cb3a0586
commit fc7dfc1ab6

View File

@ -860,7 +860,11 @@ class calendar_boupdate extends calendar_bo
'encoding' => '8bit',
'type' => 'text/calendar; method='.$method,
);
// fall through
// format iCal uses now like Exchange event-title as subject and description as body
$subject = $event['title'];
$body = $event['description'];
break;
case 'extended':
$body .= "\n\n".lang('Event Details follow').":\n";
foreach($event_arr as $key => $val)