summaryrefslogtreecommitdiff
path: root/program/include/rcube_imap.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-11-20 17:45:31 +0000
committeralecpl <alec@alec.pl>2008-11-20 17:45:31 +0000
commit73ba7caadb53733a039dc797768227b042798803 (patch)
treebe383312e84925e525bb9fa943b7d9be3d5e59b7 /program/include/rcube_imap.php
parent300fc65a461ce37999e3f0df991b24ed1b3c1bd3 (diff)
#1485573: fix part=0 handling
Diffstat (limited to 'program/include/rcube_imap.php')
-rw-r--r--program/include/rcube_imap.php2
1 files changed, 2 insertions, 0 deletions
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);