mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/17058] Add if-sentence for $encode_eol for email headers
PHPBB3-17058
This commit is contained in:
parent
cd36a68645
commit
0802772f09
1 changed files with 1 additions and 1 deletions
|
@ -597,7 +597,7 @@ class messenger
|
|||
$this->from = $board_contact;
|
||||
}
|
||||
|
||||
$encode_eol = ($config['smtp_delivery']) ? "\r\n" : PHP_EOL;
|
||||
$encode_eol = $config['smtp_delivery'] || PHP_VERSION_ID >= 80000 ? "\r\n" : PHP_EOL;
|
||||
|
||||
// Build to, cc and bcc strings
|
||||
$to = $cc = $bcc = '';
|
||||
|
|
Loading…
Add table
Reference in a new issue