From 11b4ee2e606105f223ba7d43225546807211d352 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Wed, 12 Nov 2008 22:07:25 -0700 Subject: [PATCH] Get this information from the current MIME part. --- imp/lib/Mime/Viewer/alternative.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imp/lib/Mime/Viewer/alternative.php b/imp/lib/Mime/Viewer/alternative.php index 18063484b..9bf5156f7 100644 --- a/imp/lib/Mime/Viewer/alternative.php +++ b/imp/lib/Mime/Viewer/alternative.php @@ -85,7 +85,7 @@ class IMP_Horde_Mime_Viewer_alternative extends Horde_Mime_Viewer_Driver } /* Now grab all keys under this ID. */ - $render_part = $this->_params['contents']->getMIMEPart($disp_id, array('nocontents' => true)); + $render_part = $this->_mimepart->getPart($disp_id); foreach (array_keys($render_part->contentTypeMap()) as $val) { if (in_array($val, $display_ids) && !isset($ret[$val])) { $render = $this->_params['contents']->renderMIMEPart($val, 'inline', array('params' => $this->_params)); -- 2.11.0