Fixed select guest table
This commit is contained in:
		
							parent
							
								
									3da881bde4
								
							
						
					
					
						commit
						365733ba6d
					
				| @ -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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user