From b430fdc429fa28c1c3d7c14821c4ef46b668df94 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Wed, 12 Nov 2008 20:34:17 -0700 Subject: [PATCH] Fix _renderInfo() return. --- imp/lib/Mime/Viewer/pdf.php | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) 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() ) ); } -- 2.11.0