From c451ee9805baba69a8098f2c8c0b109327314b85 Mon Sep 17 00:00:00 2001 From: "Rob G. Healey" Date: Sat, 12 Mar 2011 02:56:19 +0000 Subject: [PATCH] Bug#4744; set_surname is now fixed. It was causing a crash in reading the database. svn: r16809 --- src/plugins/webreport/WebCal.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/webreport/WebCal.py b/src/plugins/webreport/WebCal.py index 655f665b9..231177b06 100644 --- a/src/plugins/webreport/WebCal.py +++ b/src/plugins/webreport/WebCal.py @@ -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)