diff --git a/app/models/mailer.rb b/app/models/mailer.rb index 3249a6ac2..7efa7c998 100644 --- a/app/models/mailer.rb +++ b/app/models/mailer.rb @@ -344,7 +344,7 @@ class Mailer < ActionMailer::Base :conditions => s.conditions ).group_by(&:assigned_to) issues_by_assignee.each do |assignee, issues| - deliver_reminder(assignee, issues, days) unless assignee.nil? + deliver_reminder(assignee, issues, days) if assignee && assignee.active? end end