projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b430fdc
)
Fix _renderInline() return.
author
Michael M Slusarz
<slusarz@curecanti.org>
Thu, 13 Nov 2008 03:34:34 +0000
(20:34 -0700)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Thu, 13 Nov 2008 03:34:34 +0000
(20:34 -0700)
imp/lib/Mime/Viewer/plain.php
patch
|
blob
|
history
diff --git
a/imp/lib/Mime/Viewer/plain.php
b/imp/lib/Mime/Viewer/plain.php
index
9922a6d
..
01badb3
100644
(file)
--- 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.