Privacy problem with the relation to the center person. (#555)
Bug #12345
This commit is contained in:
parent
9c5951a9e9
commit
f0719c9eff
@ -1668,6 +1668,8 @@ class PersonPages(BasePage):
|
|||||||
self.report.options['pid'])
|
self.report.options['pid'])
|
||||||
if center_person is None:
|
if center_person is None:
|
||||||
return
|
return
|
||||||
|
if probably_alive(center_person, self.r_db, Today()):
|
||||||
|
return
|
||||||
relationship = self.rel_class.get_one_relationship(self.r_db,
|
relationship = self.rel_class.get_one_relationship(self.r_db,
|
||||||
self.person,
|
self.person,
|
||||||
center_person)
|
center_person)
|
||||||
|
Loading…
Reference in New Issue
Block a user