Browse Source

Reverts r14115 in trunk.

git-svn-id: http://svn.redmine.org/redmine/trunk@14117 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/3.1.0
Jean-Philippe Lang 9 years ago
parent
commit
12263ae626
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      app/models/setting.rb

+ 1
- 1
app/models/setting.rb View File

@@ -243,7 +243,7 @@ END_SRC
private

def force_utf8_strings(arg)
if arg.is_a?(String) && arg.respond_to?(:force_encoding)
if arg.is_a?(String)
arg.dup.force_encoding('UTF-8')
elsif arg.is_a?(Array)
arg.map do |a|

Loading…
Cancel
Save