* Mail: fix PHP Fatal error under PHP 5.4

This commit is contained in:
Ralf Becker 2017-06-13 11:01:48 +02:00
parent 130192e871
commit d4111de058

View File

@ -7029,7 +7029,7 @@ class Mail
foreach($headers->toArray() as $header => $value) foreach($headers->toArray() as $header => $value)
{ {
$needsReplacement = false; $needsReplacement = false;
foreach((array)$value as &$val) foreach((array)$value as $val)
{ {
if (strlen($val)+ strlen($header) > 900) if (strlen($val)+ strlen($header) > 900)
{ {