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