Fixed select guest table

This commit is contained in:
Godwin 2017-08-03 21:55:57 -07:00
parent 3da881bde4
commit 365733ba6d

View File

@ -112,7 +112,7 @@ module AdminHelper
end
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'] == host.id