Project

General

Profile

Defect #34068 » field_format.rb.patch

Pavel Rosický, 2020-10-05 14:22

View differences:

trunk/lib/redmine/field_format.rb (revision 20121) → trunk/lib/redmine/field_format.rb (working copy)
blank_option = ''.html_safe
unless custom_value.custom_field.multiple?
if custom_value.custom_field.is_required?
unless custom_value.custom_field.default_value.present?
unless custom_value.custom_field.default_value.present? && custom_value.customized.new_record?
blank_option = view.content_tag('option', "--- #{l(:actionview_instancetag_blank_option)} ---", :value => '')
end
else
(1-1/4)