Fix bulk re-sending confirmation emails for subscribers
[MAILPOET-1598]
This commit is contained in:
@ -629,8 +629,9 @@ class Subscriber extends Model {
|
||||
|
||||
$emails_sent = 0;
|
||||
if(!empty($subscribers)) {
|
||||
$sender = new ConfirmationEmailMailer();
|
||||
foreach($subscribers as $subscriber) {
|
||||
if($subscriber->sendConfirmationEmail()) {
|
||||
if($sender->sendConfirmationEmail($subscriber)) {
|
||||
$emails_sent++;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user