[ticket/17058] Replace hardcoded PHP_EOL in phpbb_mail() with var

PHPBB3-17058
This commit is contained in:
Christian Schnegelberger 2022-11-06 18:33:12 +01:00 committed by Marc Alexander
parent 0802772f09
commit 6f034c5215
No known key found for this signature in database
GPG key ID: 50E0D2423696F995

View file

@ -629,7 +629,7 @@ class messenger
}
else
{
$result = phpbb_mail($mail_to, $this->subject, $this->msg, $headers, PHP_EOL, $err_msg);
$result = phpbb_mail($mail_to, $this->subject, $this->msg, $headers, $encode_eol, $err_msg);
}
if (!$result)
@ -952,7 +952,7 @@ class queue
}
else
{
$result = phpbb_mail($to, $subject, $msg, $headers, PHP_EOL, $err_msg);
$result = phpbb_mail($to, $subject, $msg, $headers, $encode_eol, $err_msg);
}
if (!$result)