diff --git a/app/models/custom_field.rb b/app/models/custom_field.rb index 19b625c91d7a..076d972709d4 100644 --- a/app/models/custom_field.rb +++ b/app/models/custom_field.rb @@ -268,6 +268,10 @@ def list? field_format == "list" end + def user? + field_format == "user" + end + def version? field_format == "version" end @@ -281,7 +285,7 @@ def boolean? end def multi_value_possible? - %w[version user list].include?(field_format) + version? || user? || list? end def allow_non_open_versions_possible?