mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-08 01:36:57 +02:00
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:
@@ -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__);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user