Fix typo in PHPMailer. Fixes #17614 props pross.

git-svn-id: http://svn.automattic.com/wordpress/trunk@18107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
westi 2011-06-01 20:42:47 +00:00
parent 9b82395409
commit 3af271ea94

View File

@ -451,7 +451,7 @@ class PHPMailer {
*/
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);