Browse Source

Fixed select guest table

development
Godwin 7 years ago
parent
commit
365733ba6d
  1. 2
      app/helpers/admin_helper.rb

2
app/helpers/admin_helper.rb

@ -112,7 +112,7 @@ module AdminHelper
end end
def get_housing_match(host, guest, space) def get_housing_match(host, guest, space)
housing_data = guest.housing_data || [] housing_data = guest.housing_data || {}
if housing_data['host'].present? if housing_data['host'].present?
if housing_data['host'] == host.id if housing_data['host'] == host.id

Loading…
Cancel
Save