diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 1a8402020..e2eebfa41 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -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)