summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-04-29 07:00:16 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-04-29 07:00:16 +0000
commit7845843596674dc51da1cc96c406e2875db25c9c (patch)
tree90bd73143c9250a4477a32e7f29f85b79e7ae548
parentf26a504045eaa7311f819d1e4e457b1b0ad3cf59 (diff)
downloadredmine-7845843596674dc51da1cc96c406e2875db25c9c.tar.gz
redmine-7845843596674dc51da1cc96c406e2875db25c9c.zip
Merged r5225 from trunk.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.1-stable@5567 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/models/mailer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/mailer.rb b/app/models/mailer.rb
index e88e740a1..6d6a97246 100644
--- a/app/models/mailer.rb
+++ b/app/models/mailer.rb
@@ -326,7 +326,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