From: Michael M Slusarz Date: Tue, 11 Nov 2008 18:59:52 +0000 (-0700) Subject: Only skip part if inline, not info X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=264f338d5962292533d563b2400ee55fe6c9293d;p=horde.git Only skip part if inline, not info Also, disable another status related thing for now. --- 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 .= '' .