Fixed typo in `loc_child_obj`
parent
2f2fd0f200
commit
2329dab84f
|
@ -259,8 +259,8 @@ class Location(models.Model):
|
|||
return self.market
|
||||
elif hasattr(self, "attraction"):
|
||||
return self.attraction
|
||||
elif hasattr(self, "pointofintrest"):
|
||||
return self.pointofintrest
|
||||
elif hasattr(self, "pointofinterest"):
|
||||
return self.pointofinterest
|
||||
else:
|
||||
return self
|
||||
|
||||
|
|
Loading…
Reference in New Issue