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