summaryrefslogtreecommitdiff
path: root/program/steps/mail/get.inc
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2007-11-07 07:34:22 +0000
committerthomascube <thomas@roundcube.net>2007-11-07 07:34:22 +0000
commita9cc52b1634ab42d6d2c226412d477ef18b6e34f (patch)
treee4cc05f1df0adb4b2dff1857b0b0eeababb1628e /program/steps/mail/get.inc
parente4867ea740cd0d03acb65fdc7a93f7764cc711b2 (diff)
Correctly decode attachments when downloading them (fixes #1484645)
Diffstat (limited to 'program/steps/mail/get.inc')
-rw-r--r--program/steps/mail/get.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/get.inc b/program/steps/mail/get.inc
index 880baa38b..c9e40ac77 100644
--- a/program/steps/mail/get.inc
+++ b/program/steps/mail/get.inc
@@ -111,7 +111,7 @@ else if ($pid = get_input_value('_part', RCUBE_INPUT_GET))
$part->filename ? $part->filename : "roundcube.$ctype_secondary"));
// turn off output buffering and print part content
- $IMAP->get_message_part($MESSAGE['UID'], $part->mime_id, $part->encoding, true);
+ $IMAP->get_message_part($MESSAGE['UID'], $part->mime_id, $part, true);
}
exit;