From b6cb7aa8e3b98db4095a1869d1ce51aefaf308db Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 13 Oct 2013 07:37:49 +0000 Subject: Ability to define commit keywords per tracker (#7590). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12208 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/controllers/settings_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers') diff --git a/app/controllers/settings_controller.rb b/app/controllers/settings_controller.rb index 05550bc65..fdd6bf4f0 100644 --- a/app/controllers/settings_controller.rb +++ b/app/controllers/settings_controller.rb @@ -47,7 +47,7 @@ class SettingsController < ApplicationController @guessed_host_and_path << ('/'+ Redmine::Utils.relative_url_root.gsub(%r{^\/}, '')) unless Redmine::Utils.relative_url_root.blank? @commit_update_keywords = Setting.commit_update_keywords.dup - @commit_update_keywords[''] = {} if @commit_update_keywords.blank? + @commit_update_keywords << {} if @commit_update_keywords.blank? Redmine::Themes.rescan end -- cgit v1.2.3