Don't show info message if part is marked as attachment.
authorMichael M Slusarz <slusarz@curecanti.org>
Mon, 28 Sep 2009 22:51:27 +0000 (16:51 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Mon, 28 Sep 2009 22:51:27 +0000 (16:51 -0600)
imp/lib/Mime/Viewer/Html.php

index 21a56ec..bd5e4e0 100644 (file)
@@ -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();
         }