summaryrefslogtreecommitdiffstats
path: root/app/helpers
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2022-06-17 10:32:44 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2022-06-17 10:32:44 +0000
commitb1352bb1e654c561b1ebcf6dc0d4aae8825701a8 (patch)
tree8368cd12810f49f909e0d9c5af1316f40ab2ca1a /app/helpers
parent691dc3e3b3adf9498fd77fd1d912ab4b23fd1cd5 (diff)
downloadredmine-b1352bb1e654c561b1ebcf6dc0d4aae8825701a8.tar.gz
redmine-b1352bb1e654c561b1ebcf6dc0d4aae8825701a8.zip
Fix rubocop warning (Add empty line after guard clause).
git-svn-id: https://svn.redmine.org/redmine/trunk@21655 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/application_helper.rb1
1 files changed, 1 insertions, 0 deletions
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)