From b36d403c9d3f3f75d589490661e0dfd83fb3c98b Mon Sep 17 00:00:00 2001 From: fidian Date: Mon, 8 Oct 2001 21:47:28 +0000 Subject: [PATCH] Added the hook! git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1550 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/mime.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/functions/mime.php b/functions/mime.php index 73360d7f..3c8418a9 100644 --- a/functions/mime.php +++ b/functions/mime.php @@ -549,7 +549,9 @@ $body = mime_fetch_body ($imap_stream, $id, $ent_num); $body = decodeBody($body, $body_message->header->encoding); - + $hookResults = do_hook("message_body", $body); + $body = $hookResults[1]; + // If there are other types that shouldn't be formatted, add // them here if ($body_message->header->type1 != "html" || ! $show_html_default) { -- 2.25.1