diff --git a/app/controllers/admin/site_settings_controller.rb b/app/controllers/admin/site_settings_controller.rb index a17f9c70de6..6dbe7284b0a 100644 --- a/app/controllers/admin/site_settings_controller.rb +++ b/app/controllers/admin/site_settings_controller.rb @@ -34,7 +34,7 @@ class Admin::SiteSettingsController < Admin::AdminController end update_existing_users = params[:update_existing_user].present? - previous_value = SiteSetting.send(id) || "" if update_existing_users + previous_value = SiteSetting.public_send(id) || "" if update_existing_users SiteSetting.set_and_log(id, value, current_user)