diff --git a/app/controllers/admin/sites_controller.rb b/app/controllers/admin/sites_controller.rb index 1883533b..3adc9e02 100644 --- a/app/controllers/admin/sites_controller.rb +++ b/app/controllers/admin/sites_controller.rb @@ -84,6 +84,9 @@ class Admin::SitesController < OrbitBackendController def responsive_setting @module = ModuleApp.where(:key => "announcement").first + if @site.phone_number.class.to_s == "BSON::OrderedHash" + @site.phone_number = [] + end end diff --git a/app/views/mobile/dialog_contact.mobile.erb b/app/views/mobile/dialog_contact.mobile.erb index 5e2936ad..c4cfb9ad 100644 --- a/app/views/mobile/dialog_contact.mobile.erb +++ b/app/views/mobile/dialog_contact.mobile.erb @@ -4,9 +4,12 @@