5246: NarWeb crash when using Family Links option for maps with a place with invalid lat/long
svn: r18190
This commit is contained in:
@@ -654,9 +654,10 @@ class BasePage(object):
|
|||||||
|
|
||||||
# 0 = latitude, 1 = longitude, 2 = place title, 3 = handle,
|
# 0 = latitude, 1 = longitude, 2 = place title, 3 = handle,
|
||||||
# 4 = event date
|
# 4 = event date
|
||||||
place_lat_long.append([ latitude, longitude,
|
if latitude is not None:
|
||||||
placetitle, place.handle,
|
place_lat_long.append([ latitude, longitude,
|
||||||
event.get_date_object() ])
|
placetitle, place.handle,
|
||||||
|
event.get_date_object() ])
|
||||||
|
|
||||||
def _get_event_place(self, person):
|
def _get_event_place(self, person):
|
||||||
"""
|
"""
|
||||||
|
Reference in New Issue
Block a user