5794: Birthday list report has invalid code
svn: r19879
This commit is contained in:
parent
47309dbcfb
commit
e7032c45b6
@ -255,7 +255,10 @@ class CalendarReport(Report):
|
||||
if father_handle:
|
||||
father = self.database.get_person_from_handle(father_handle)
|
||||
if father is not None:
|
||||
father_lastname = father.get_primary_name().surname
|
||||
primary_name = father.get_primary_name()
|
||||
if primary_name:
|
||||
father_lastname = primary_name.get_primary_surname()
|
||||
|
||||
short_name = self.get_name(person, father_lastname)
|
||||
|
||||
alive = probably_alive(person, self.database, prob_alive_date)
|
||||
|
Loading…
x
Reference in New Issue
Block a user