From fc7dfc1ab6474a7f66f6f4b3f2e498f20d643143 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 12 Jun 2012 16:59:06 +0000 Subject: [PATCH] * Calendar: notifications of type iCal use event-title as subject and describtion as body, like Exchange does, type extended provides old format --- calendar/inc/class.calendar_boupdate.inc.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/calendar/inc/class.calendar_boupdate.inc.php b/calendar/inc/class.calendar_boupdate.inc.php index 4cbefb3085..cdec0a31ba 100644 --- a/calendar/inc/class.calendar_boupdate.inc.php +++ b/calendar/inc/class.calendar_boupdate.inc.php @@ -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)