projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85ec727
)
CRM-14599 - Exclude deleted contacts from test mailing
author
Coleman Watts
<coleman@civicrm.org>
Mon, 3 Aug 2015 20:23:33 +0000
(16:23 -0400)
committer
Coleman Watts
<coleman@civicrm.org>
Mon, 3 Aug 2015 20:23:33 +0000
(16:23 -0400)
api/v3/Mailing.php
patch
|
blob
|
blame
|
history
diff --git
a/api/v3/Mailing.php
b/api/v3/Mailing.php
index 46c97b86d82c2313b3f8f8dcdf2f86988f5767b4..8250138f87f18c79568e222b1cc9179d21ed80db 100755
(executable)
--- a/
api/v3/Mailing.php
+++ b/
api/v3/Mailing.php
@@
-591,6
+591,7
@@
function civicrm_api3_mailing_send_test($params) {
->where('c.is_opt_out = 0')
->where('c.do_not_email = 0')
->where('c.is_deceased = 0')
+ ->where('c.is_deleted = 0')
->groupBy('e.id')
->orderBy(array('e.is_bulkmail DESC', 'e.is_primary DESC'))
->toSQL();