X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=src%2Fview_html.php;h=eac3cd90a589c976d8b162305febe3d0b90a4b36;hp=0763b191560bd499b54a0996e183a45f1361826d;hb=1977ab5587905d225c6288141b82f7a6e3d29d02;hpb=f63fd5f01e50e7843f45c64a47332013d6ded1b3 diff --git a/src/view_html.php b/src/view_html.php index 0763b191..eac3cd90 100644 --- a/src/view_html.php +++ b/src/view_html.php @@ -1,7 +1,7 @@ encoding); $body = mime_fetch_body($imap_stream, $passed_id, $ent_id); $body = decodeBody($body, $encoding); -$hookResults = do_hook('message_body', $body); -$body = $hookResults[1]; +do_hook('message_body', $body); /** * TODO: check if xtra_code is needed. @@ -78,5 +75,3 @@ $body = MagicHTML( $body, $passed_id, $message, $mailbox); /** TODO: charset might be part of html code. */ header('Content-Type: text/html; charset=' . $charset); echo $body; - -?> \ No newline at end of file