mirror of
https://github.com/friendica/friendica
synced 2024-12-23 02:40:17 +00:00
Fix off-by-one error in Message ID header count check in Util\Emailer
This commit is contained in:
parent
b9fe8ee38f
commit
a2afb101cd
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ class Emailer
|
|||
$countMessageId += count($value);
|
||||
}
|
||||
}
|
||||
if ($countMessageId > 0) {
|
||||
if ($countMessageId > 1) {
|
||||
$this->logger->warning('More than one Message-ID found - RFC violation', ['email' => $email]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue