From cbae8d018780057a812122351225ba11dd77bf7c Mon Sep 17 00:00:00 2001 From: Thomas Date: Wed, 12 Oct 2011 21:53:09 +0200 Subject: [PATCH] Set title of ical attachments in mail view even if no METHOD is defined --- plugins/calendar/calendar.php | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/calendar/calendar.php b/plugins/calendar/calendar.php index 1addd503..f909277c 100644 --- a/plugins/calendar/calendar.php +++ b/plugins/calendar/calendar.php @@ -1944,6 +1944,7 @@ class calendar extends rcube_plugin $part = $this->message->mime_parts[$mime_id]; $charset = $part->ctype_parameters['charset'] ? $part->ctype_parameters['charset'] : RCMAIL_CHARSET; $events = $this->ical->import($this->message->get_part_content($mime_id), $charset); + $title = $this->gettext('title'); // successfully parsed events? if (empty($events))