Fixed a crash issue that I created in the last commit.
svn: r15626
This commit is contained in:
@@ -4873,16 +4873,18 @@ class IndividualPage(BasePage):
|
|||||||
|
|
||||||
# add individual's children events and places to family map
|
# add individual's children events and places to family map
|
||||||
if self.family_map:
|
if self.family_map:
|
||||||
for child_handle in childlist:
|
for handle in childlist:
|
||||||
child = db.get_person_from_handle(child_handle)
|
individual = db.get_person_from_handle(handle)
|
||||||
_get_event_place(db, child)
|
_get_event_place(db, individual)
|
||||||
|
|
||||||
if self.report.options['birthorder']:
|
if self.report.options["birthorder"]:
|
||||||
kids = sorted(add_birthdate(db, childlist))
|
kids = sorted(add_birthdate(db, childlist))
|
||||||
|
|
||||||
ordered.extend(
|
ordered.extend(
|
||||||
self.display_child_link(child_handle)
|
self.display_child_link(child_handle)
|
||||||
for birth_date, child_handle in kids)
|
for birth_date, child_handle in kids
|
||||||
|
if child_handle != self.person.handle
|
||||||
|
)
|
||||||
else:
|
else:
|
||||||
ordered += map(self.display_child_link, childlist)
|
ordered += map(self.display_child_link, childlist)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user