git-svn-id: https://svn.redmine.org/redmine/trunk@21655 e93f8b46-1217-0410-a6f0-8f06a7374b81tags/5.1.0
end | end | ||||
when 'CustomValue', 'CustomFieldValue' | when 'CustomValue', 'CustomFieldValue' | ||||
return "" unless object.customized&.visible? | return "" unless object.customized&.visible? | ||||
if object.custom_field | if object.custom_field | ||||
f = object.custom_field.format.formatted_custom_value(self, object, html) | f = object.custom_field.format.formatted_custom_value(self, object, html) | ||||
if f.nil? || f.is_a?(String) | if f.nil? || f.is_a?(String) |