]> source.dussan.org Git - redmine.git/commitdiff
Fixed: when changing the status of an issue, the email subject contains the previous...
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 20 Jan 2008 09:49:25 +0000 (09:49 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 20 Jan 2008 09:49:25 +0000 (09:49 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1078 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/mailer.rb

index 257f5772606a9cf3c3ad2e7dbf2ba9183ac54679..18fbc96b402d79c20ec59996933f7c9d5479cb2c 100644 (file)
@@ -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)