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:
Meik Sievertsen 2003-06-26 21:13:21 +00:00
parent 7af3199e0c
commit 77e8d09aab

View file

@ -144,6 +144,8 @@ function smtpmail($mail_to, $subject, $message, $headers = '')
server_parse($socket, "250", __LINE__);
// Specify each user to send to and build to header.
$to_header = '';
@reset($mail_to_array);
while(list(, $mail_to_address) = each($mail_to_array))
{