##// END OF EJS Templates
Small fix in Mailer....
Jean-Philippe Lang -
r690:f16ab838d89d
parent child
Show More
@@ -44,7 +44,7 class Mailer < ActionMailer::Base
44 set_language_if_valid(Setting.default_language)
44 set_language_if_valid(Setting.default_language)
45 # Sends to all project members
45 # Sends to all project members
46 issue = journal.journalized
46 issue = journal.journalized
47 @recipients = issue.project.members.collect { |m| m.user.mail if m.user.mail_notification }
47 @recipients = issue.project.members.collect { |m| m.user.mail if m.user.mail_notification }.compact
48 # Sends to author and assignee (even if they turned off mail notification)
48 # Sends to author and assignee (even if they turned off mail notification)
49 @recipients << issue.author.mail if issue.author
49 @recipients << issue.author.mail if issue.author
50 @recipients << issue.assigned_to.mail if issue.assigned_to
50 @recipients << issue.assigned_to.mail if issue.assigned_to
General Comments 0
You need to be logged in to leave comments. Login now