summaryrefslogtreecommitdiff
path: root/plugins/kolab_files
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/kolab_files
parent7af77056677e3d27c6026a2bdef719e570a2b44f (diff)
downloadroundcubemail-plugins-kolab-2a46aceb2b2cafc8ca1723894616c718e5d7f201.tar.gz
Use new rcube_message::get_part_body() method
Diffstat (limited to 'plugins/kolab_files')
-rw-r--r--plugins/kolab_files/lib/kolab_files_engine.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/kolab_files/lib/kolab_files_engine.php b/plugins/kolab_files/lib/kolab_files_engine.php
index f4c78ef..365ca5b 100644
--- a/plugins/kolab_files/lib/kolab_files_engine.php
+++ b/plugins/kolab_files/lib/kolab_files_engine.php
@@ -903,7 +903,7 @@ class kolab_files_engine
// save attachment to file
if ($fp = fopen($path, 'w+')) {
- $message->get_part_content($attach_prop->mime_id, $fp, true);
+ $message->get_part_body($attach_prop->mime_id, false, 0, $fp);
}
else {
$errors[] = true;