diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-04-14 04:45:44 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-04-14 04:45:44 +0000 |
commit | cf31aeaf8131f0f35c261b1a5d783de83e59fcd1 (patch) | |
tree | 45330a724f43cd4bf2231ba3b072bfef4935c9c6 | |
parent | 83ea66fd2c9eb8c8d0b89ec81a4a5d67292ab570 (diff) | |
download | redmine-cf31aeaf8131f0f35c261b1a5d783de83e59fcd1.tar.gz redmine-cf31aeaf8131f0f35c261b1a5d783de83e59fcd1.zip |
Merged r9380 from trunk.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.4-stable@9397 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | app/models/mailer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/mailer.rb b/app/models/mailer.rb index 96bb83c57..113a77337 100644 --- a/app/models/mailer.rb +++ b/app/models/mailer.rb @@ -359,7 +359,7 @@ class Mailer < ActionMailer::Base issues_by_assignee = scope.all(:include => [:status, :assigned_to, :project, :tracker]).group_by(&:assigned_to) issues_by_assignee.each do |assignee, issues| - deliver_reminder(assignee, issues, days) if assignee && assignee.active? + deliver_reminder(assignee, issues, days) if assignee.is_a?(User) && assignee.active? end end |