@@ -359,7 +359,7 class Mailer < ActionMailer::Base | |||
|
359 | 359 | |
|
360 | 360 | issues_by_assignee = scope.all(:include => [:status, :assigned_to, :project, :tracker]).group_by(&:assigned_to) |
|
361 | 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 | 363 | end |
|
364 | 364 | end |
|
365 | 365 |
General Comments 0
You need to be logged in to leave comments.
Login now