Merge r22569 from trunk to 5.1-stable (#39862).

git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@22570 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Marius Balteanu
2023-12-27 15:43:12 +00:00
parent 7f45076752
commit da54738e91

View File

@@ -39,7 +39,7 @@ module Redmine
end
def param_expression
@param_expression ||= Regexp.new("^(#{object_types.join("|")})$")
@param_expression ||= Regexp.new("^(#{object_types.to_a.join("|")})$")
end
end
end