Skip to content

Commit

Permalink
Fix call to IMP_Factory_MimeViewer::create
Browse files Browse the repository at this point in the history
Signed-off-by: Michael M Slusarz <slusarz@horde.org>
  • Loading branch information
joaomachado authored and slusarz committed Dec 3, 2013
1 parent cb0e652 commit db5e29b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion imp/lib/Factory/MimeViewer.php
Expand Up @@ -92,7 +92,10 @@ public function create(Horde_Mime_Part $mime, array $opts = array())
public function createCallback(Horde_Mime_Viewer_Base $viewer,
Horde_Mime_Part $mime, $type)
{
return $this->create($mime, $viewer->getConfigParam('imp_contents'), $type);
return $this->create($mime, array(
'contents' => $viewer->getConfigParam('imp_contents'),
'type' => $type
));
}

/**
Expand Down

0 comments on commit db5e29b

Please sign in to comment.