mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/17058] Replace hardcoded PHP_EOL in phpbb_mail() with var
PHPBB3-17058
This commit is contained in:
parent
0802772f09
commit
6f034c5215
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue