diff --git a/lib/open_project/documents/patches/custom_fields_helper_patch.rb b/lib/open_project/documents/patches/custom_fields_helper_patch.rb index 11122cb279..7f2ffc7446 100644 --- a/lib/open_project/documents/patches/custom_fields_helper_patch.rb +++ b/lib/open_project/documents/patches/custom_fields_helper_patch.rb @@ -39,7 +39,7 @@ module OpenProject::Documents::Patches custom_fields_tabs_without_documents << { name: 'DocumentCategoryCustomField', partial: 'custom_fields/tab', - label: DocumentCategory::OptionName + label: DocumentCategory::OPTION_NAME } end