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

svn: r17219
This commit is contained in:
Michiel Nauta 2011-04-23 08:53:25 +00:00
parent 75dbd70108
commit 0e40cc3fee

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):