From: Michael M Slusarz Date: Thu, 13 Nov 2008 05:07:25 +0000 (-0700) Subject: Get this information from the current MIME part. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=11b4ee2e606105f223ba7d43225546807211d352;p=horde.git Get this information from the current MIME part. --- 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));