diff options
Diffstat (limited to 'sonar-server/src')
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/controllers/rules_configuration_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/controllers/rules_configuration_controller.rb b/sonar-server/src/main/webapp/WEB-INF/app/controllers/rules_configuration_controller.rb index 2055707abc3..76bb20df4ea 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/controllers/rules_configuration_controller.rb +++ b/sonar-server/src/main/webapp/WEB-INF/app/controllers/rules_configuration_controller.rb @@ -336,7 +336,7 @@ class RulesConfigurationController < ApplicationController def update_rule_note verify_post_request access_denied unless has_role?(:profileadmin) - require_parameters :rule_id, :text + require_parameters :rule_id rule = Rule.find(params[:rule_id]) note = rule.note unless note |