From: Michael M Slusarz Date: Thu, 13 Nov 2008 03:34:17 +0000 (-0700) Subject: Fix _renderInfo() return. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=b430fdc429fa28c1c3d7c14821c4ef46b668df94;p=horde.git Fix _renderInfo() return. --- diff --git a/imp/lib/Mime/Viewer/pdf.php b/imp/lib/Mime/Viewer/pdf.php index 61f1aa9d3..a2edd9ba5 100644 --- a/imp/lib/Mime/Viewer/pdf.php +++ b/imp/lib/Mime/Viewer/pdf.php @@ -87,11 +87,15 @@ class IMP_Horde_Mime_Viewer_pdf extends Horde_Mime_Viewer_pdf } return array( - 'status' => array( - array( - 'icon' => Horde::img('mime/image.png', _("Thumbnail of attached PDF file")), - 'text' => $status - ) + $this->_mimepart->getMimeId() => array( + 'data' => '', + 'status' => array( + array( + 'icon' => Horde::img('mime/image.png', _("Thumbnail of attached PDF file")), + 'text' => $status + ) + ), + 'type' => 'text/html; charset=' . NLS::getCharset() ) ); }