diff options
author | Marius Balteanu <marius.balteanu@zitec.com> | 2023-12-27 15:43:33 +0000 |
---|---|---|
committer | Marius Balteanu <marius.balteanu@zitec.com> | 2023-12-27 15:43:33 +0000 |
commit | 9632aa870a6f3e008c222c382d17a38620d40daf (patch) | |
tree | 92a22e72292f669442bf3e5d5dad327207da404d /lib | |
parent | 297f249371da03e59f58ba8708456fc96cbabe25 (diff) | |
download | redmine-9632aa870a6f3e008c222c382d17a38620d40daf.tar.gz redmine-9632aa870a6f3e008c222c382d17a38620d40daf.zip |
Merge r22569 from trunk to 5.0-stable (#39862).
git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@22571 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r-- | lib/plugins/acts_as_attachable/lib/acts_as_attachable.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/plugins/acts_as_attachable/lib/acts_as_attachable.rb b/lib/plugins/acts_as_attachable/lib/acts_as_attachable.rb index 9c09a7870..43efe8cd3 100644 --- a/lib/plugins/acts_as_attachable/lib/acts_as_attachable.rb +++ b/lib/plugins/acts_as_attachable/lib/acts_as_attachable.rb @@ -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 |