Merge pull request #258 from prculley/bug9458_42
bug 9458, fix Import Vcard can create multiple surnames with all selected as 'Primary'
This commit is contained in:
commit
4e5112d3fd
@ -354,6 +354,7 @@ class VCardParser(object):
|
||||
surname.set_surname(sname.strip())
|
||||
surname.set_prefix(prefix.strip())
|
||||
name.add_surname(surname)
|
||||
name.set_primary_surname()
|
||||
|
||||
if len(data_fields) > 1 and data_fields[1].strip():
|
||||
given_name = ' '.join(self.unesc(
|
||||
|
Loading…
Reference in New Issue
Block a user