diff options
Diffstat (limited to 'app/controllers/admin_controller.rb')
-rw-r--r-- | app/controllers/admin_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/admin_controller.rb b/app/controllers/admin_controller.rb index 58d6115ee..5ad3d696b 100644 --- a/app/controllers/admin_controller.rb +++ b/app/controllers/admin_controller.rb @@ -48,7 +48,7 @@ class AdminController < ApplicationController def mail_options @notifiables = %w(issue_added issue_updated news_added document_added file_added message_posted) if request.post? - settings = (params[:settings] || {}).dup + settings = (params[:settings] || {}).dup.symbolize_keys settings[:notified_events] ||= [] settings.each { |name, value| Setting[name] = value } flash[:notice] = l(:notice_successful_update) |