GeoView : Bug when event without people associated with it.

svn: r13246
This commit is contained in:
Serge Noiraud 2009-09-24 17:41:33 +00:00
parent f63f13d70f
commit b7607c4f79

View File

@ -1290,8 +1290,8 @@ class GeoView(HtmlView):
dbstate.db.find_backlink_handles(event.handle)
if ref_type == 'Person'
]
descr2 = event.get_type()
if person_list:
descr2 = event.get_type()
for person in person_list:
descr2 = ("%(description)s - %(name)s") % {
'description' : descr2,