mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-23 18:38:53 +00: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:
parent
0f411e1523
commit
1c3ee5f2a4
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ function smtpmail($mail_to, $subject, $message, $headers = '')
|
||||||
$bcc = preg_replace('#^bcc:(.*)#si', '\1', $header);
|
$bcc = preg_replace('#^bcc:(.*)#si', '\1', $header);
|
||||||
$header = '';
|
$header = '';
|
||||||
}
|
}
|
||||||
$headers .= $header . "\r\n";
|
$headers .= ($header != '') ? $header . "\r\n" : '';
|
||||||
}
|
}
|
||||||
|
|
||||||
$headers = chop($headers);
|
$headers = chop($headers);
|
||||||
|
|
Loading…
Add table
Reference in a new issue