Fix 2nd parameter to _cleanHTML()
authorMichael M Slusarz <slusarz@curecanti.org>
Tue, 26 Jan 2010 22:17:03 +0000 (15:17 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Tue, 26 Jan 2010 22:39:43 +0000 (15:39 -0700)
framework/Mime/lib/Horde/Mime/Viewer/Html.php

index 570148e..ac24eb7 100644 (file)
@@ -48,7 +48,7 @@ class Horde_Mime_Viewer_Html extends Horde_Mime_Viewer_Driver
      */
     protected function _render()
     {
-        $html = $this->_cleanHTML($this->_mimepart->getContents(), false);
+        $html = $this->_cleanHTML($this->_mimepart->getContents(), array('inline' => false));
 
         return array(
             $this->_mimepart->getMimeId() => array(
@@ -66,7 +66,7 @@ class Horde_Mime_Viewer_Html extends Horde_Mime_Viewer_Driver
      */
     protected function _renderInline()
     {
-        $html = $this->_cleanHTML($this->_mimepart->getContents(), true);
+        $html = $this->_cleanHTML($this->_mimepart->getContents(), array('inline' => true));
 
         return array(
             $this->_mimepart->getMimeId() => array(