summaryrefslogtreecommitdiff
path: root/plugins/libcalendaring/libcalendaring.php
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2014-10-22 12:58:47 (GMT)
committerAleksander Machniak <machniak@kolabsys.com>2014-10-22 12:58:47 (GMT)
commit2a46aceb2b2cafc8ca1723894616c718e5d7f201 (patch)
tree3e83ea1be4c994b02783c5f0d73637f9995b33f2 /plugins/libcalendaring/libcalendaring.php
parent7af77056677e3d27c6026a2bdef719e570a2b44f (diff)
downloadroundcubemail-plugins-kolab-2a46aceb2b2cafc8ca1723894616c718e5d7f201.tar.gz
Use new rcube_message::get_part_body() method
Diffstat (limited to 'plugins/libcalendaring/libcalendaring.php')
-rw-r--r--plugins/libcalendaring/libcalendaring.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/libcalendaring/libcalendaring.php b/plugins/libcalendaring/libcalendaring.php
index 52a8134..6e61add 100644
--- a/plugins/libcalendaring/libcalendaring.php
+++ b/plugins/libcalendaring/libcalendaring.php
@@ -1281,7 +1281,7 @@ class libcalendaring extends rcube_plugin
foreach ($this->ical_parts as $mime_id) {
$part = $this->ical_message->mime_parts[$mime_id];
$charset = $part->ctype_parameters['charset'] ?: RCMAIL_CHARSET;
- $this->mail_ical_parser->import($this->ical_message->get_part_content($mime_id), $charset);
+ $this->mail_ical_parser->import($this->ical_message->get_part_body($mime_id, true), $charset);
// stop on the part that has an iTip method specified
if (count($this->mail_ical_parser->objects) && $this->mail_ical_parser->method) {