From: Michael M Slusarz Date: Wed, 12 Nov 2008 06:57:04 +0000 (-0700) Subject: Make sure to pass along any params to other Viewers X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=7ff1e33575e93d19b01d45ebb6eae6176db51e42;p=horde.git Make sure to pass along any params to other Viewers --- diff --git a/imp/lib/Mime/Viewer/related.php b/imp/lib/Mime/Viewer/related.php index c6f51d534..d5217c909 100644 --- a/imp/lib/Mime/Viewer/related.php +++ b/imp/lib/Mime/Viewer/related.php @@ -106,7 +106,7 @@ class IMP_Horde_Mime_Viewer_related extends Horde_Mime_Viewer_Driver $cids[$val] = $part->getContentId(); } - $ret = $this->_params['contents']->renderMIMEPart($id, $inline ? 'inline' : 'full', array('params' => array('related_id' => $id, 'related_cids' => $cids))); + $ret = $this->_params['contents']->renderMIMEPart($id, $inline ? 'inline' : 'full', array('params' => array_merge($this->_params, array('related_id' => $id, 'related_cids' => $cids)))); $ret['ids'] = array_keys(array_flip(array_merge($ret['ids'], $ids))); unset($ret['summary_id']); return $ret;