projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
909dbd0
)
Fix full rendering.
author
Michael M Slusarz
<slusarz@curecanti.org>
Fri, 14 Nov 2008 19:46:27 +0000
(12:46 -0700)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Fri, 14 Nov 2008 19:46:27 +0000
(12:46 -0700)
imp/lib/Mime/Viewer/related.php
patch
|
blob
|
history
diff --git
a/imp/lib/Mime/Viewer/related.php
b/imp/lib/Mime/Viewer/related.php
index
9463963
..
7fd20f4
100644
(file)
--- a/
imp/lib/Mime/Viewer/related.php
+++ b/
imp/lib/Mime/Viewer/related.php
@@
-86,6
+86,10
@@
class IMP_Horde_Mime_Viewer_related extends Horde_Mime_Viewer_Driver
$render = $this->_params['contents']->renderMIMEPart($id, $inline ? IMP_Contents::RENDER_INLINE : IMP_Contents::RENDER_FULL, array('params' => array_merge($this->_params, array('related_id' => $id, 'related_cids' => $cids))));
+ if (!$inline) {
+ return $render;
+ }
+
foreach (array_keys($render) as $val) {
$ret[$val] = $render[$val];
}