From 3af271ea9465b513aad5aa0faa9db2e9a3cbeabc Mon Sep 17 00:00:00 2001 From: westi Date: Wed, 1 Jun 2011 20:42:47 +0000 Subject: [PATCH] Fix typo in PHPMailer. Fixes #17614 props pross. git-svn-id: http://svn.automattic.com/wordpress/trunk@18107 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-phpmailer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/class-phpmailer.php b/wp-includes/class-phpmailer.php index b498d8c32..70de3de72 100644 --- a/wp-includes/class-phpmailer.php +++ b/wp-includes/class-phpmailer.php @@ -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);