summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2014-11-22 09:39:10 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2014-11-22 09:39:10 +0000
commit65a62431dd38f25d0856184c959866b2c8a05d62 (patch)
treecb2804d21274fb4e92aa0bde4f9dbc225b4f7eb1
parentf3e573b5f891c71f9395562a3f8747ecec801091 (diff)
downloadredmine-65a62431dd38f25d0856184c959866b2c8a05d62.tar.gz
redmine-65a62431dd38f25d0856184c959866b2c8a05d62.zip
Clear @spent_hours on reload (#18410).
Patch by Ondřej Ezr. git-svn-id: http://svn.redmine.org/redmine/trunk@13625 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/models/issue.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb
index 78383fcd0..5724ce4d6 100644
--- a/app/models/issue.rb
+++ b/app/models/issue.rb
@@ -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