X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fview_html.php;h=eac3cd90a589c976d8b162305febe3d0b90a4b36;hb=3673a2deb33a13b35bd05b8693da08f1b64fbc42;hp=5e7df7c6b15904c187e6c553dde2c9098289d7ac;hpb=906f7e9fa070f6df07bd4ba8c72a9c7908039761;p=squirrelmail.git diff --git a/src/view_html.php b/src/view_html.php index 5e7df7c6..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. @@ -75,4 +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; -?>