mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 14:57:37 +02:00
[ticket/17058] Add if-sentence for $encode_eol for email headers
PHPBB3-17058
This commit is contained in:
committed by
Marc Alexander
parent
cd36a68645
commit
0802772f09
@@ -597,7 +597,7 @@ class messenger
|
|||||||
$this->from = $board_contact;
|
$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
|
// Build to, cc and bcc strings
|
||||||
$to = $cc = $bcc = '';
|
$to = $cc = $bcc = '';
|
||||||
|
Reference in New Issue
Block a user