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