X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fview_html.php;h=c0d2932a02446e988f19b83c21a7b086e27b4cd7;hb=7b89907542b6cd04e22d6951ed4c5b588ee7f22a;hp=0763b191560bd499b54a0996e183a45f1361826d;hpb=f63fd5f01e50e7843f45c64a47332013d6ded1b3;p=squirrelmail.git diff --git a/src/view_html.php b/src/view_html.php index 0763b191..c0d2932a 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 +77,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