Somehow a not had been removed from an if statement making the report only show one level of spouses max. Inserted the not again.

fixes error 4603


svn: r16650
This commit is contained in:
Craig J. Anderson 2011-02-17 16:57:43 +00:00
parent 524d1f3114
commit b1876829fb

View File

@ -523,7 +523,8 @@ class RecurseDown:
self.famalies_seen.add(family_handle)
family = self.database.get_family_from_handle(family_handle)
#Marriage box if the option is there.
if self.inlc_marr and self.max_spouses > 0:
marr = self.add_marriage_box((x_level, s_level+1),
person_handle, family_handle,
@ -558,7 +559,7 @@ class RecurseDown:
first = 0
if self.max_spouses > s_level and \
spouse_handle in self.famalies_seen:
spouse_handle not in self.famalies_seen:
#spouse_handle = ReportUtils.find_spouse(person,family)
self.recurse(spouse_handle, x_level, s_level+1, spouse)