From b1352bb1e654c561b1ebcf6dc0d4aae8825701a8 Mon Sep 17 00:00:00 2001 From: Marius Balteanu Date: Fri, 17 Jun 2022 10:32:44 +0000 Subject: [PATCH] Fix rubocop warning (Add empty line after guard clause). git-svn-id: https://svn.redmine.org/redmine/trunk@21655 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/helpers/application_helper.rb | 1 + 1 file changed, 1 insertion(+) 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) -- 2.39.5