From: River Tarnell Date: Tue, 8 May 2007 08:28:34 +0000 (+0000) Subject: mail() sending was not chucking recips properly in array path, from Nick Jenkins X-Git-Tag: 1.31.0-rc.0~53026 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/comptes/ajouter.php?a=commitdiff_plain;h=10b254085da6e219b79b1477d025f692eb146a10;p=lhc%2Fweb%2Fwiklou.git mail() sending was not chucking recips properly in array path, from Nick Jenkins --- 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; }