From 4215198570e5fb32250b685ce4c1a7289bd8bf8c Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 14 Apr 2012 04:45:32 +0000 Subject: [PATCH] Merged r9380 from trunk. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.3-stable@9396 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/models/mailer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/mailer.rb b/app/models/mailer.rb index 6f68918a9..3aef68871 100644 --- a/app/models/mailer.rb +++ b/app/models/mailer.rb @@ -354,7 +354,7 @@ class Mailer < ActionMailer::Base :conditions => s.conditions ).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 -- 2.39.5