From 96ad932fcf1afa2e9dc73a052b5c37ca899ff781 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Mon, 28 Sep 2009 16:51:27 -0600 Subject: [PATCH] Don't show info message if part is marked as attachment. --- imp/lib/Mime/Viewer/Html.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/imp/lib/Mime/Viewer/Html.php b/imp/lib/Mime/Viewer/Html.php index 21a56ec4b..bd5e4e05a 100644 --- a/imp/lib/Mime/Viewer/Html.php +++ b/imp/lib/Mime/Viewer/Html.php @@ -134,7 +134,8 @@ class IMP_Horde_Mime_Viewer_Html extends Horde_Mime_Viewer_Html */ protected function _renderInfo() { - if ($this->canRender('inline')) { + if ($this->canRender('inline') || + ($this->_mimepart->getDisposition() == 'attachment')) { return array(); } -- 2.11.0