From e61cde8737191d7ad88cee29419c99b33bee7c27 Mon Sep 17 00:00:00 2001 From: Janos SUTO Date: Sat, 13 Nov 2021 18:38:53 +0100 Subject: [PATCH] Fixed the removeJournal() function #1211 Signed-off-by: Janos SUTO --- webui/system/helper/mime.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webui/system/helper/mime.php b/webui/system/helper/mime.php index efa2272b..b6301ad6 100644 --- a/webui/system/helper/mime.php +++ b/webui/system/helper/mime.php @@ -147,7 +147,7 @@ class Piler_Mime_Decode { $s = self::remove_LF($message); if(strpos($s, $EOL . $EOL)) { list($headers, $body) = explode($EOL . $EOL, $s, 2); - if(strstr($headers, "\nX-MS-Journal-Report:")) { + if(!strstr($headers, "\nX-MS-Journal-Report:")) { return $has_journal; } }