From d0400ce7003a7a15bd8eaf65d72eb8077938e7dd Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Wed, 10 Feb 2010 00:58:39 -0700 Subject: [PATCH] Fix display of certain attachments --- imp/lib/Ui/Message.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/imp/lib/Ui/Message.php b/imp/lib/Ui/Message.php index 007cc2840..f2822ea9f 100644 --- a/imp/lib/Ui/Message.php +++ b/imp/lib/Ui/Message.php @@ -509,13 +509,14 @@ class IMP_Ui_Message } $render_part = $imp_contents->renderMIMEPart($mime_id, $render_mode); - if (($render_mode & IMP_Contents::RENDER_INLINE) && - empty($render_part)) { + if (empty($render_part)) { /* This meant that nothing was rendered - allow this part to * appear in the attachment list instead. */ if ($show_parts == 'atc') { $atc_parts[] = $mime_id; } + + $msgtext .= $this->formatSummary($imp_contents->getSummary($mime_id, $contents_mask), $part_info_display, true); continue; } -- 2.11.0