0002495: Detailed Ancestral Report crash when spouse has baptism
svn: r11312
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user