From: Michael M Slusarz Date: Thu, 13 Nov 2008 03:34:34 +0000 (-0700) Subject: Fix _renderInline() return. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=41db054c1ca1ffeaf4d4ba9cd79b6d850be759a6;p=horde.git Fix _renderInline() return. --- diff --git a/imp/lib/Mime/Viewer/plain.php b/imp/lib/Mime/Viewer/plain.php index 9922a6da3..01badb3eb 100644 --- a/imp/lib/Mime/Viewer/plain.php +++ b/imp/lib/Mime/Viewer/plain.php @@ -26,7 +26,13 @@ class IMP_Horde_Mime_Viewer_plain extends Horde_Mime_Viewer_plain // Trim extra whitespace in the text. $text = rtrim($this->_mimepart->getContents()); if ($text == '') { - return array(); + return array( + $this->_mimepart->getMimeId() => array( + 'data' => '', + 'status' => array(), + 'type' => 'text/html; charset=' . NLS::getCharset() + ) + ); } // Convert to the local charset.