Browse Source

Fixed error adding new hosts

development
Godwin 8 years ago
committed by GitHub
parent
commit
70d656aa33
  1. 2
      app/controllers/conferences_controller.rb

2
app/controllers/conferences_controller.rb

@ -864,7 +864,7 @@ class ConferencesController < ApplicationController
end end
elsif ConferenceRegistration.all_considerations.include? key.to_sym elsif ConferenceRegistration.all_considerations.include? key.to_sym
registration.housing_data ||= {} registration.housing_data ||= {}
registration.housing_data['considerations'] ||= {} registration.housing_data['considerations'] ||= []
if value.present? if value.present?
registration.housing_data['considerations'] |= [key] registration.housing_data['considerations'] |= [key]
else else

Loading…
Cancel
Save