diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-02-09 17:18:41 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-02-09 17:18:41 +0000 |
commit | 27e3b31c1ef509506046f356b11877d064afea2d (patch) | |
tree | 2cae946138fa9d2012808703a0d7c19109bb56e1 /app/controllers/settings_controller.rb | |
parent | fc6d6b1e3b27ae2343eaebbdb61315dc7184b8bd (diff) | |
download | redmine-27e3b31c1ef509506046f356b11877d064afea2d.tar.gz redmine-27e3b31c1ef509506046f356b11877d064afea2d.zip |
Fixed: TypeError (can't modify frozen string) on settings view (#2700).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2423 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/settings_controller.rb')
-rw-r--r-- | app/controllers/settings_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/settings_controller.rb b/app/controllers/settings_controller.rb index e9bc0a601..7d99a7266 100644 --- a/app/controllers/settings_controller.rb +++ b/app/controllers/settings_controller.rb @@ -40,7 +40,7 @@ class SettingsController < ApplicationController @options[:user_format] = User::USER_FORMATS.keys.collect {|f| [User.current.name(f), f.to_s] } @deliveries = ActionMailer::Base.perform_deliveries - @guessed_host_and_path = request.host_with_port + @guessed_host_and_path = request.host_with_port.dup @guessed_host_and_path << ('/'+ Redmine::Utils.relative_url_root.gsub(%r{^\/}, '')) unless Redmine::Utils.relative_url_root.blank? end |