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) dbstate.db.find_backlink_handles(event.handle)
if ref_type == 'Person' if ref_type == 'Person'
] ]
if person_list:
descr2 = event.get_type() descr2 = event.get_type()
if person_list:
for person in person_list: for person in person_list:
descr2 = ("%(description)s - %(name)s") % { descr2 = ("%(description)s - %(name)s") % {
'description' : descr2, 'description' : descr2,