0002495: Detailed Ancestral Report crash when spouse has baptism

svn: r11312
This commit is contained in:
Brian Matherly 2008-11-18 02:27:45 +00:00
parent a19b9df7bc
commit b4b5180ef5

View File

@ -622,8 +622,9 @@ class DetAncestorReport(Report):
self.doc.write_text(text)
print_name = 0
text = ReportUtils.baptised_str(self.database, ind, print_name,
self.verbose, self.EMPTY_DATE, self.EMPTY_PLACE)
text = ReportUtils.baptised_str(self.database, ind, print_name,
self.verbose, self.endnotes, self.EMPTY_DATE,
self.EMPTY_PLACE)
if text:
self.doc.write_text(text)
print_name = 0
@ -637,7 +638,9 @@ class DetAncestorReport(Report):
print_name = 0
text = ReportUtils.buried_str(self.database, ind, print_name,
self.EMPTY_DATE, self.EMPTY_PLACE, self.verbose)
self.verbose, self.endnotes, self.EMPTY_DATE,
self.EMPTY_PLACE)
if text:
self.doc.write_text(text)
print_name = 0