From e083b2682970e132938eb0b44a3554548e24e592 Mon Sep 17 00:00:00 2001 From: synox Date: Mon, 11 Mar 2019 21:06:32 +0700 Subject: [PATCH] fix error not finding $purifier --- src/frontend.template.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/frontend.template.php b/src/frontend.template.php index db8ab66..6a2f970 100644 --- a/src/frontend.template.php +++ b/src/frontend.template.php @@ -28,9 +28,8 @@ function niceDate($date) { return $m->calendar(); } -function printMessageBody($email) { +function printMessageBody($email, $purifier) { global $config; - global $purifier; // To avoid showing empty mails, first purify the html and plaintext // before checking if they are empty. @@ -246,7 +245,7 @@ function printMessageBody($email) { Delete - +