@@ -41,7 +41,6 module Redmine | |||
|
41 | 41 | module InstanceMethods |
|
42 | 42 | def self.included(base) |
|
43 | 43 | base.extend ClassMethods |
|
44 | base.send :alias_method_chain, :reload, :custom_fields | |
|
45 | 44 | end |
|
46 | 45 | |
|
47 | 46 | def available_custom_fields |
@@ -164,10 +163,10 module Redmine | |||
|
164 | 163 | @custom_field_values_changed = true |
|
165 | 164 | end |
|
166 | 165 | |
|
167 |
def reload |
|
|
166 | def reload(*args) | |
|
168 | 167 | @custom_field_values = nil |
|
169 | 168 | @custom_field_values_changed = false |
|
170 | reload_without_custom_fields(*args) | |
|
169 | super | |
|
171 | 170 | end |
|
172 | 171 | |
|
173 | 172 | module ClassMethods |
General Comments 0
You need to be logged in to leave comments.
Login now