summaryrefslogtreecommitdiffstats
path: root/lib/redmine/field_format.rb
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-03-17 16:36:34 +0000
committerGo MAEDA <maeda@farend.jp>2019-03-17 16:36:34 +0000
commit30e341db6963d71fccf2d1bf24744ab828bee151 (patch)
tree48d0d989256c847c81fa69712da986803c63c30f /lib/redmine/field_format.rb
parentbd5977d97eaf92f852c1bfe499052b6b07ab8aae (diff)
downloadredmine-30e341db6963d71fccf2d1bf24744ab828bee151.tar.gz
redmine-30e341db6963d71fccf2d1bf24744ab828bee151.zip
Support frozen_string_literal in lib/**/*.rb (#26561).
Contributed by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@17988 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine/field_format.rb')
-rw-r--r--lib/redmine/field_format.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/field_format.rb b/lib/redmine/field_format.rb
index 29be3c9fd..e1aba49f5 100644
--- a/lib/redmine/field_format.rb
+++ b/lib/redmine/field_format.rb
@@ -185,7 +185,7 @@ module Redmine
def parse_keyword(custom_field, keyword, &block)
separator = Regexp.escape ","
- keyword = keyword.to_s
+ keyword = keyword.dup.to_s
if custom_field.multiple?
values = []