diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index e765e11e8..5b2862f84 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -29,6 +29,8 @@ * src/PaperMenu.py (GrampsPaperComboBox.set): Compare paper names. + * src/ReportUtils.py (born_died_str): Find events to reference. + 2005-02-18 Don Allingham * src/EditPerson.py: more readonly patches * src/EventEdit.py: more readonly patches diff --git a/gramps2/src/ReportUtils.py b/gramps2/src/ReportUtils.py index 6585ed87d..5a1751cb5 100644 --- a/gramps2/src/ReportUtils.py +++ b/gramps2/src/ReportUtils.py @@ -476,6 +476,9 @@ def born_died_str(database,person,endnotes=None,name_object=None,person_name=Non bdate,bplace,bdate_full,ddate,dplace,ddate_full = \ get_birth_death_strings(database,person) + birth = database.get_event_from_handle(person.get_birth_handle()) + death = database.get_event_from_handle(person.get_death_handle()) + if person.get_gender() == RelLib.Person.MALE: if bdate: if bplace: