Get this information from the current MIME part.
authorMichael M Slusarz <slusarz@curecanti.org>
Thu, 13 Nov 2008 05:07:25 +0000 (22:07 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Thu, 13 Nov 2008 05:07:25 +0000 (22:07 -0700)
imp/lib/Mime/Viewer/alternative.php

index 1806348..9bf5156 100644 (file)
@@ -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));