From: Michael M Slusarz Date: Fri, 25 Sep 2009 17:10:37 +0000 (-0600) Subject: Correctly show phishing highlighting when viewing inline X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=1a57ad3e16e1a3e92b0f087ba1765c9089c48577;p=horde.git Correctly show phishing highlighting when viewing inline --- diff --git a/imp/lib/Mime/Viewer/Html.php b/imp/lib/Mime/Viewer/Html.php index 74696c2de..680064e2e 100644 --- a/imp/lib/Mime/Viewer/Html.php +++ b/imp/lib/Mime/Viewer/Html.php @@ -185,10 +185,9 @@ class IMP_Horde_Mime_Viewer_Html extends Horde_Mime_Viewer_Html { $data = $this->_mimepart->getContents(); $charset = Horde_Nls::getCharset(); - $msg_charset = $this->_mimepart->getCharset(); /* Sanitize the HTML. */ - $data = $this->_cleanHTML($data, array('charset' => $msg_charset)); + $data = $this->_cleanHTML($data, array('phishing' => $inline)); /* We are done processing if in mimp mode, or we are converting to * text. */