From 73ba7caadb53733a039dc797768227b042798803 Mon Sep 17 00:00:00 2001 From: alecpl Date: Thu, 20 Nov 2008 17:45:31 +0000 Subject: #1485573: fix part=0 handling --- program/include/rcube_imap.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/program/include/rcube_imap.php b/program/include/rcube_imap.php index 856858b78..f1483af9b 100644 --- a/program/include/rcube_imap.php +++ b/program/include/rcube_imap.php @@ -1365,6 +1365,8 @@ class rcube_imap // TODO: Add caching for message parts + if (!$part) $part = 'TEXT'; + if ($print) { $mode = $o_part->encoding == 'base64' ? 3 : ($o_part->encoding == 'quoted-printable' ? 1 : 2); -- cgit v1.2.3