Skip to content

Commit

Permalink
Fix issue where on_hold email addresses are not being filtered out of
Browse files Browse the repository at this point in the history
recipient list for mailings.
  • Loading branch information
darrick authored and eileenmcnaughton committed Mar 21, 2018
1 parent 653b713 commit 8443fe5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CRM/Mailing/BAO/Mailing.php
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ public static function getRecipients($mailingID) {
$location_filter,
"$entityTable.email IS NOT NULL",
"$entityTable.email != ''",
"$entityTable.on_hold = 0",
"mg.mailing_id = #mailingID",
'temp.contact_id IS NULL',
);
Expand Down

0 comments on commit 8443fe5

Please sign in to comment.