summaryrefslogtreecommitdiff
path: root/plugins/kolab_files/lib
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/kolab_files/lib')
-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;