Geography : bug when liking to a place.

svn: r17622
This commit is contained in:
Serge Noiraud
2011-05-29 21:45:38 +00:00
parent 9bb6a77850
commit f6e32ce429
2 changed files with 8 additions and 3 deletions

View File

@@ -201,6 +201,8 @@ class GeoPlaces(GeoGraphyView):
"""
Create one entry for one place with a lat/lon.
"""
if place is None:
return
descr = place.get_title()
longitude = place.get_longitude()
latitude = place.get_latitude()