diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 11eeeb080..8536b3a54 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,6 @@ +2005-05-25 Alex Roitman + * src/WriteGedcom.py (write_person): Typo. + 2005-05-25 Richard Taylor * src/plugins/ScratchPad.py: disabled search because it does not do what the user expects. diff --git a/gramps2/src/WriteGedcom.py b/gramps2/src/WriteGedcom.py index 094c0abb4..e4bd06249 100644 --- a/gramps2/src/WriteGedcom.py +++ b/gramps2/src/WriteGedcom.py @@ -809,7 +809,7 @@ class GedcomWriter: death = self.db.get_event_from_handle(death_handle) if death_handle and death and not (self.private and death.get_privacy()): if not death.get_date_object().is_empty() or death.get_place_handle(): - if birth.get_description() != "": + if death.get_description() != "": self.writeln("1 DEAT %s" % death.get_description()) else: self.writeln("1 DEAT")