summaryrefslogtreecommitdiff
path: root/plugins/calendar/lib/calendar_itip.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/calendar/lib/calendar_itip.php')
-rw-r--r--plugins/calendar/lib/calendar_itip.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/calendar/lib/calendar_itip.php b/plugins/calendar/lib/calendar_itip.php
index cb19646..30fb812 100644
--- a/plugins/calendar/lib/calendar_itip.php
+++ b/plugins/calendar/lib/calendar_itip.php
@@ -159,7 +159,7 @@ class calendar_itip
// attach ics file for this event
$ical = $this->cal->get_ical();
- $ics = $ical->export(array($event), $method);
+ $ics = $ical->export(array($event), $method, false, $method == 'REQUEST' ? array($this->cal->driver, 'get_attachment_body') : false);
$message->addAttachment($ics, 'text/calendar', 'event.ics', false, '8bit', '', RCMAIL_CHARSET . "; method=" . $method);
return $message;