Bug#4744; set_surname is now fixed. It was causing a crash in reading the database.
svn: r16809
This commit is contained in:
parent
e6b6f8066a
commit
c451ee9805
@ -1082,7 +1082,8 @@ class WebCalReport(Report):
|
|||||||
name = gen.lib.Name(married_name)
|
name = gen.lib.Name(married_name)
|
||||||
else:
|
else:
|
||||||
name = gen.lib.Name(primary_name)
|
name = gen.lib.Name(primary_name)
|
||||||
name.set_surname(maiden_name)
|
surname_obj = name.get_primary_surname()
|
||||||
|
surname_obj.set_surname(maiden_name)
|
||||||
else:
|
else:
|
||||||
name = gen.lib.Name(primary_name)
|
name = gen.lib.Name(primary_name)
|
||||||
name.set_display_as(self.name_format)
|
name.set_display_as(self.name_format)
|
||||||
|
Loading…
Reference in New Issue
Block a user