IsAncestorOf bug hidden by looking up null handle
This commit is contained in:
@@ -73,8 +73,8 @@ class IsAncestorOf(Rule):
|
|||||||
return
|
return
|
||||||
if not first:
|
if not first:
|
||||||
self.map.add(person.handle)
|
self.map.add(person.handle)
|
||||||
|
|
||||||
fam_id = person.get_main_parents_family_handle()
|
fam_id = person.get_main_parents_family_handle()
|
||||||
|
if fam_id:
|
||||||
fam = db.get_family_from_handle(fam_id)
|
fam = db.get_family_from_handle(fam_id)
|
||||||
if fam:
|
if fam:
|
||||||
f_id = fam.get_father_handle()
|
f_id = fam.get_father_handle()
|
||||||
|
Reference in New Issue
Block a user