@@ -22,7 +22,7 @@ |
||
22 | 22 | |
23 | 23 | if ($recipients) { |
24 | 24 | |
25 | - foreach ($recipients AS $recipient) { |
|
25 | + foreach ($recipients as $recipient) { |
|
26 | 26 | |
27 | 27 | $mail->Subject = $subject; |
28 | 28 | $mail->Body = $message_html; |