IsAncestorOf bug hidden by looking up null handle

This commit is contained in:
Doug Blank 2016-02-06 21:43:03 -05:00
parent e54ed1254a
commit 429b91d357

View File

@ -73,8 +73,8 @@ class IsAncestorOf(Rule):
return
if not first:
self.map.add(person.handle)
fam_id = person.get_main_parents_family_handle()
if fam_id:
fam = db.get_family_from_handle(fam_id)
if fam:
f_id = fam.get_father_handle()