summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-04-19 08:33:56 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-04-19 08:33:56 +0000
commit2a3fe1604a6ec17febff189305649d31e2ec871e (patch)
tree6062c189a2e706eda903689da8a905f911501430 /app
parent43200e21220db2aa7a88838a6713d77de1bb3f16 (diff)
downloadredmine-2a3fe1604a6ec17febff189305649d31e2ec871e.tar.gz
redmine-2a3fe1604a6ec17febff189305649d31e2ec871e.zip
Fixed: Issue status in the notify email's subject is the issue's old status, should be its new status (#3194).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2673 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-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 c011d9d2a..992fd50c0 100644
--- a/app/models/mailer.rb
+++ b/app/models/mailer.rb
@@ -53,7 +53,7 @@ class Mailer < ActionMailer::Base
# issue_edit(journal) => tmail object
# Mailer.deliver_issue_edit(journal) => sends an email to issue recipients
def issue_edit(journal)
- issue = journal.journalized
+ issue = journal.journalized.reload
redmine_headers 'Project' => issue.project.identifier,
'Issue-Id' => issue.id,
'Issue-Author' => issue.author.login