Remove trim from $mail_to to allow bcc only sends.

git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@3232 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen 2002-12-22 15:09:17 +00:00
parent 7d401823a1
commit 0f08995ef9

View file

@ -105,7 +105,7 @@ function smtpmail($mail_to, $subject, $message, $headers = "")
$cc = explode(",", $cc); $cc = explode(",", $cc);
$bcc = explode(",", $bcc); $bcc = explode(",", $bcc);
} }
if(trim($mail_to) == "") if($mail_to == "")
{ {
message_die(GENERAL_ERROR, "No email address specified", "", __LINE__, __FILE__); message_die(GENERAL_ERROR, "No email address specified", "", __LINE__, __FILE__);
} }