diff --git a/app/controllers/admins/settings_controller.rb b/app/controllers/admins/settings_controller.rb index aa45fc18c..37d9cbb2e 100644 --- a/app/controllers/admins/settings_controller.rb +++ b/app/controllers/admins/settings_controller.rb @@ -10,7 +10,7 @@ def index def create if ['additional_moot_positions', 'additional_committee_positions'].include? params[:setting] - Settings[params[:setting]] = params[:value].split(',') + Settings[params[:setting]] = params[:value].downcase.split(',') elsif ['intro_membership','intro_activities'].include? params[:setting] Settings[params[:setting]] = Activity.where( id: params[:value].split(',').map(&:to_i) ).collect(&:id) render :status => :ok, :json => {