Skip to content

Commit

Permalink
Another ContentParam missing argument fix
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Nov 13, 2014
1 parent b899695 commit 284ae04
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion imp/lib/Contents/View.php
Expand Up @@ -242,7 +242,10 @@ public function printAttach($id)

$view->headers = $headers;

$ctype = new Horde_Mime_Headers_ContentParam($part['type']);
$ctype = new Horde_Mime_Headers_ContentParam(
'Content-Type',
$part['type']
);
$header_dom = new Horde_Domhtml(
Horde_String::convertCharset($view->render('headers'), 'UTF-8', $ctype['charset']),
$ctype['charset']
Expand Down

0 comments on commit 284ae04

Please sign in to comment.