Fix Relationship path between filter for silent fail (#586)
Fixes #10509
This commit is contained in:
@@ -82,6 +82,8 @@ class RelationshipPathBetween(Rule):
|
|||||||
pmap[person.get_handle()] = rank
|
pmap[person.get_handle()] = rank
|
||||||
|
|
||||||
fam_id = person.get_main_parents_family_handle()
|
fam_id = person.get_main_parents_family_handle()
|
||||||
|
if not fam_id:
|
||||||
|
return
|
||||||
family = self.db.get_family_from_handle(fam_id)
|
family = self.db.get_family_from_handle(fam_id)
|
||||||
if family is not None:
|
if family is not None:
|
||||||
self.apply_filter(rank+1, family.get_father_handle(), plist, pmap)
|
self.apply_filter(rank+1, family.get_father_handle(), plist, pmap)
|
||||||
|
|||||||
Reference in New Issue
Block a user