From b4c4161c9d1466decd21a4a85513a90fbdff54b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Tue, 22 Jul 2008 10:27:24 +0000 Subject: [PATCH] #2124: Baptism as alternate birth event on Det (Ancestral,Descendant) reports and Ancestral report svn: r10912 --- src/ReportBase/_ReportUtils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ReportBase/_ReportUtils.py b/src/ReportBase/_ReportUtils.py index f4cd49f1e..a466814f2 100644 --- a/src/ReportBase/_ReportUtils.py +++ b/src/ReportBase/_ReportUtils.py @@ -2584,7 +2584,7 @@ def baptised_str(database, person, person_name=None, verbose=True, empty_date="" event = database.get_event_from_handle(event_ref.ref) if event and event.get_type() == gen.lib.EventType.BAPTISM \ and event_ref.get_role() == gen.lib.EventRoleType.PRIMARY: - burial = event + baptism = event break if baptism: bdate = DateHandler.get_date(baptism)