summaryrefslogtreecommitdiff
path: root/plugins/libkolab
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/libkolab
parent7af77056677e3d27c6026a2bdef719e570a2b44f (diff)
downloadroundcubemail-plugins-kolab-2a46aceb2b2cafc8ca1723894616c718e5d7f201.tar.gz
Use new rcube_message::get_part_body() method
Diffstat (limited to 'plugins/libkolab')
-rw-r--r--plugins/libkolab/lib/kolab_storage_folder.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/libkolab/lib/kolab_storage_folder.php b/plugins/libkolab/lib/kolab_storage_folder.php
index 2435fa3..59d407f 100644
--- a/plugins/libkolab/lib/kolab_storage_folder.php
+++ b/plugins/libkolab/lib/kolab_storage_folder.php
@@ -444,7 +444,7 @@ class kolab_storage_folder extends kolab_storage_folder_api
// get XML part
foreach ((array)$message->attachments as $part) {
if (!$xml && ($part->mimetype == $content_type || preg_match('!application/([a-z.]+\+)?xml!', $part->mimetype))) {
- $xml = $part->body ? $part->body : $message->get_part_content($part->mime_id);
+ $xml = $message->get_part_body($part->mime_id, true);
}
else if ($part->filename || $part->content_id) {
$key = $part->content_id ? trim($part->content_id, '<>') : $part->filename;