Fixed the removeJournal() function #1211

Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
Janos SUTO 2021-11-13 18:38:53 +01:00
parent aea0cf865d
commit e61cde8737

View File

@ -147,7 +147,7 @@ class Piler_Mime_Decode {
$s = self::remove_LF($message); $s = self::remove_LF($message);
if(strpos($s, $EOL . $EOL)) { if(strpos($s, $EOL . $EOL)) {
list($headers, $body) = explode($EOL . $EOL, $s, 2); 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; return $has_journal;
} }
} }