summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-01-20 09:49:25 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-01-20 09:49:25 +0000
commit1535ac122053a428ca29f8887cb10994e467f1ab (patch)
tree2b51699f19030b58909baf612d6d4140e7b30eba /app
parent2a945f794fecfeee156f3bce266e811cb8392530 (diff)
downloadredmine-1535ac122053a428ca29f8887cb10994e467f1ab.tar.gz
redmine-1535ac122053a428ca29f8887cb10994e467f1ab.zip
Fixed: when changing the status of an issue, the email subject contains the previous status of the issue.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1078 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/models/mailer.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/mailer.rb b/app/models/mailer.rb
index 257f57726..18fbc96b4 100644
--- a/app/models/mailer.rb
+++ b/app/models/mailer.rb
@@ -31,6 +31,7 @@ class Mailer < ActionMailer::Base
def issue_edit(journal)
issue = journal.journalized
+ issue.reload
recipients issue.recipients
# Watchers in cc
cc(issue.watcher_recipients - @recipients)