From: Michael M Slusarz Date: Mon, 28 Sep 2009 22:51:27 +0000 (-0600) Subject: Don't show info message if part is marked as attachment. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=96ad932fcf1afa2e9dc73a052b5c37ca899ff781;p=horde.git Don't show info message if part is marked as attachment. --- 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(); }