mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
fixed bug with smtp mailing and additional headers assigned.
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@4119 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -86,7 +86,7 @@ function smtpmail($mail_to, $subject, $message, $headers = '')
|
||||
$bcc = preg_replace('#^bcc:(.*)#si', '\1', $header);
|
||||
$header = '';
|
||||
}
|
||||
$headers .= $header . "\r\n";
|
||||
$headers .= ($header != '') ? $header . "\r\n" : '';
|
||||
}
|
||||
|
||||
$headers = chop($headers);
|
||||
|
Reference in New Issue
Block a user