Fix some issues caught by HipHop, and work around some issues
caused by HipHop.
This commit is contained in:
2
externals/phpmailer/class.phpmailer-lite.php
vendored
2
externals/phpmailer/class.phpmailer-lite.php
vendored
@@ -370,7 +370,7 @@ class PHPMailerLite {
|
||||
*/
|
||||
private function AddAnAddress($kind, $address, $name = '') {
|
||||
if (!preg_match('/^(to|cc|bcc|ReplyTo)$/', $kind)) {
|
||||
echo 'Invalid recipient array: ' . kind;
|
||||
echo 'Invalid recipient array: ' . $kind;
|
||||
return false;
|
||||
}
|
||||
$address = trim($address);
|
||||
|
||||
Reference in New Issue
Block a user