Protection when no active_person
svn: r19790
This commit is contained in:
@@ -167,6 +167,7 @@ class PersonEvents(Events):
|
||||
Display the events for the active person.
|
||||
"""
|
||||
active_person = self.dbstate.db.get_person_from_handle(active_handle)
|
||||
if active_person:
|
||||
for event_ref in active_person.get_event_ref_list():
|
||||
self.add_event_ref(event_ref)
|
||||
for family_handle in active_person.get_family_handle_list():
|
||||
|
Reference in New Issue
Block a user