4954: Error showing children if no spouse in family
svn: r17658
This commit is contained in:
1 parent
3f686e290b
commit
d441ae53ea
1 file changed
+2
-1
@@ -152,7 +152,8 @@ class PersonChildren(Children):
|
||||
Add a child to the model.
|
||||
"""
|
||||
name = name_displayer.display(child)
|
||||
spouse = name_displayer.display(spouse)
|
||||
if spouse:
|
||||
spouse = name_displayer.display(spouse)
|
||||
birth = get_birth_or_fallback(self.dbstate.db, child)
|
||||
birth_date, birth_sort, birth_place = self.get_date_place(birth)
|
||||
death = get_death_or_fallback(self.dbstate.db, child)
|
||||
|
||||
Reference in new issue
Block a user