1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/17058] Add if-sentence for $encode_eol for email headers

PHPBB3-17058
This commit is contained in:
Christian Schnegelberger
2022-11-06 17:27:08 +01:00
committed by Marc Alexander
parent cd36a68645
commit 0802772f09

View File

@@ -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 = '';