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