mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Set $to_header before we fill it.
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@4181 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
7af3199e0c
commit
77e8d09aab
1 changed files with 3 additions and 1 deletions
|
@ -144,6 +144,8 @@ function smtpmail($mail_to, $subject, $message, $headers = '')
|
||||||
server_parse($socket, "250", __LINE__);
|
server_parse($socket, "250", __LINE__);
|
||||||
|
|
||||||
// Specify each user to send to and build to header.
|
// Specify each user to send to and build to header.
|
||||||
|
$to_header = '';
|
||||||
|
|
||||||
@reset($mail_to_array);
|
@reset($mail_to_array);
|
||||||
while(list(, $mail_to_address) = each($mail_to_array))
|
while(list(, $mail_to_address) = each($mail_to_array))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue