@@ -359,7 +359,7 class Mailer < ActionMailer::Base | |||||
359 |
|
359 | |||
360 | issues_by_assignee = scope.all(:include => [:status, :assigned_to, :project, :tracker]).group_by(&:assigned_to) |
|
360 | issues_by_assignee = scope.all(:include => [:status, :assigned_to, :project, :tracker]).group_by(&:assigned_to) | |
361 | issues_by_assignee.each do |assignee, issues| |
|
361 | issues_by_assignee.each do |assignee, issues| | |
362 | deliver_reminder(assignee, issues, days) if assignee && assignee.active? |
|
362 | deliver_reminder(assignee, issues, days) if assignee.is_a?(User) && assignee.active? | |
363 | end |
|
363 | end | |
364 | end |
|
364 | end | |
365 |
|
365 |
General Comments 0
You need to be logged in to leave comments.
Login now