From 264f338d5962292533d563b2400ee55fe6c9293d Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Tue, 11 Nov 2008 11:59:52 -0700 Subject: [PATCH] Only skip part if inline, not info Also, disable another status related thing for now. --- imp/message.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/imp/message.php b/imp/message.php index 4ebd76dbb..1280233b7 100644 --- a/imp/message.php +++ b/imp/message.php @@ -668,7 +668,7 @@ foreach ($summary['info']['render'] as $mime_id => $type) { } $render_part = $imp_contents->renderMIMEPart($mime_id, $type); - if (empty($render_part['ids'])) { + if (($type == 'inline') && empty($render_part['ids'])) { /* This meant that nothing was rendered - allow this part to appear * in the attachment list instead. */ continue; @@ -687,7 +687,7 @@ foreach ($summary['info']['render'] as $mime_id => $type) { foreach ($render_part['status'] as $val) { // TODO: status msgs. - $tmp_status[] = $render_part['status']['text']; + //$tmp_status[] = $render_part['status']['text']; } $msgtext .= '' . -- 2.11.0