From 10b254085da6e219b79b1477d025f692eb146a10 Mon Sep 17 00:00:00 2001 From: River Tarnell Date: Tue, 8 May 2007 08:28:34 +0000 Subject: [PATCH] mail() sending was not chucking recips properly in array path, from Nick Jenkins --- includes/UserMailer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/UserMailer.php b/includes/UserMailer.php index 2c0125309f..16453b0479 100644 --- a/includes/UserMailer.php +++ b/includes/UserMailer.php @@ -145,7 +145,7 @@ function userMailer( $to, $from, $subject, $body, $replyto=null ) { if (is_array($dest)) { $chunks = array_chunk($dest, $wgEnotifMaxRecips); foreach ($chunks as $chunk) { - $e = send_mail($mail_object, $dest, $headers, $body); + $e = send_mail($mail_object, $chunk, $headers, $body); if ($e != '') return $e; } -- 2.20.1