Bug#4744; set_surname is now fixed. It was causing a crash in reading the database.

svn: r16809
This commit is contained in:
Rob G. Healey 2011-03-12 02:56:19 +00:00
parent e6b6f8066a
commit c451ee9805

View File

@ -1082,7 +1082,8 @@ class WebCalReport(Report):
name = gen.lib.Name(married_name)
else:
name = gen.lib.Name(primary_name)
name.set_surname(maiden_name)
surname_obj = name.get_primary_surname()
surname_obj.set_surname(maiden_name)
else:
name = gen.lib.Name(primary_name)
name.set_display_as(self.name_format)