summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/redmine/field_format.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/field_format.rb b/lib/redmine/field_format.rb
index b2aa67931..de2f8fc5c 100644
--- a/lib/redmine/field_format.rb
+++ b/lib/redmine/field_format.rb
@@ -355,7 +355,7 @@ module Redmine
self.form_partial = 'custom_fields/formats/link'
def formatted_value(view, custom_field, value, customized=nil, html=false)
- if html
+ if html && value.present?
if custom_field.url_pattern.present?
url = url_from_pattern(custom_field, value, customized)
else