Bug 7949, crash on GEDCOM import with empty _AKA lines
This commit is contained in:
parent
57a963d0b2
commit
b77089e97f
@ -4347,6 +4347,8 @@ class GedcomParser(UpdateCallback):
|
||||
attr.set_type(AttributeType.NICKNAME)
|
||||
attr.set_value(line.data)
|
||||
state.person.add_attribute(attr)
|
||||
elif name_len == 0:
|
||||
return
|
||||
else:
|
||||
name = Name()
|
||||
surname = Surname()
|
||||
|
Loading…
Reference in New Issue
Block a user