Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
CiviCRM Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Development
CiviCRM Core
Commits
5ce7a855
Commit
5ce7a855
authored
3 years ago
by
lcdweb
Browse files
Options
Downloads
Patches
Plain Diff
#2850
update_email_resetdate consider opt out on hold
parent
5120879b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CRM/Mailing/Event/BAO/Delivered.php
+1
-0
1 addition, 0 deletions
CRM/Mailing/Event/BAO/Delivered.php
with
1 addition
and
0 deletions
CRM/Mailing/Event/BAO/Delivered.php
+
1
−
0
View file @
5ce7a855
...
...
@@ -288,6 +288,7 @@ class CRM_Mailing_Event_BAO_Delivered extends CRM_Mailing_Event_DAO_Delivered {
AND civicrm_mailing_job.status = 'Complete'
AND civicrm_mailing_job.end_date BETWEEN DATE_SUB(NOW(), INTERVAL
$maxDays
day) AND DATE_SUB(NOW(), INTERVAL
$minDays
day)
AND (civicrm_email.reset_date IS NULL OR civicrm_email.reset_date < civicrm_mailing_job.start_date)
AND civicrm_email.on_hold != 2
GROUP BY civicrm_email.id
"
;
CRM_Core_DAO
::
executeQuery
(
$query
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment