Commit 8443fe56 authored by darrick's avatar darrick Committed by eileen

Fix issue where on_hold email addresses are not being filtered out of

recipient list for mailings.
parent 653b713e
......@@ -249,6 +249,7 @@ class CRM_Mailing_BAO_Mailing extends CRM_Mailing_DAO_Mailing {
$location_filter,
"$entityTable.email IS NOT NULL",
"$entityTable.email != ''",
"$entityTable.on_hold = 0",
"mg.mailing_id = #mailingID",
'temp.contact_id IS NULL',
);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment