]> source.dussan.org Git - redmine.git/commitdiff
Clear @spent_hours on reload (#18410).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 22 Nov 2014 09:39:10 +0000 (09:39 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 22 Nov 2014 09:39:10 +0000 (09:39 +0000)
Patch by OndÅ™ej Ezr.

git-svn-id: http://svn.redmine.org/redmine/trunk@13625 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/issue.rb

index 78383fcd0ad7d1b8484a2e22dcd8e5ecb048a53b..5724ce4d6b1403aa24bdfa4c170d63a51870cec9 100644 (file)
@@ -201,6 +201,7 @@ class Issue < ActiveRecord::Base
     @workflow_rule_by_attribute = nil
     @assignable_versions = nil
     @relations = nil
+    @spent_hours = nil
     base_reload(*args)
   end