fix bug: spouse data was not shown in personviews

svn: r14222
This commit is contained in:
Benny Malengier 2010-02-05 10:27:09 +00:00
parent 02097dd421
commit f152ac25d8

View File

@ -208,7 +208,7 @@ class PeopleBaseModel(object):
family.get_mother_handle()]:
if not spouse_id:
continue
if spouse_id == handle:
if spouse_id == data[0]:
continue
spouse = self.db.get_person_from_handle(spouse_id)
if spouses_names: