4047: Cannot modify a mother on a family editor without father

svn: r17220
This commit is contained in:
Michiel Nauta 2011-04-23 08:54:01 +00:00
parent 92e2bc1761
commit b5bac8e178

View File

@ -986,8 +986,7 @@ class EditFamily(EditPrimary):
self.db.commit_person(person, trans)
if new_handle:
person = self.db.get_person_from_handle(new_handle)
if self.obj.handle not in person.family_list:
person.family_list.append(self.obj.handle)
person.family_list.append(self.obj.handle)
self.db.commit_person(person, trans)
def object_is_empty(self):