1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

[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

View File

@@ -629,7 +629,7 @@ class messenger
} }
else 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) if (!$result)
@@ -952,7 +952,7 @@ class queue
} }
else 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) if (!$result)