Don't depend on get_ical() method existence
This commit is contained in:
parent
c0da6448fb
commit
6fad5ede55
1 changed files with 1 additions and 1 deletions
|
@ -236,7 +236,7 @@ class libcalendaring_itip
|
|||
$message->headers($headers);
|
||||
|
||||
// attach ics file for this event
|
||||
$ical = $this->plugin->get_ical();
|
||||
$ical = libcalendaring::get_ical();
|
||||
$ics = $ical->export(array($event), $method, false, $method == 'REQUEST' && $this->plugin->driver ? array($this->plugin->driver, 'get_attachment_body') : false);
|
||||
$message->addAttachment($ics, 'text/calendar', 'event.ics', false, '8bit', '', RCMAIL_CHARSET . "; method=" . $method);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue