From 6143678cfed1ac82208f6201909b143b06210527 Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Sat, 14 Jun 2003 04:57:20 +0000 Subject: [PATCH] * src/EditPerson.py (did_data_change): When checking name type, compare translated strings (otherwise they always differ). svn: r1734 --- ChangeLog | 4 ++++ src/EditPerson.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 4d5dd40ea..a9092b841 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2003-06-13 Alex Roitman + * src/EditPerson.py (did_data_change): When checking name type, + compare translated strings (otherwise they always differ). + 2003-06-13 Don Allingham * src/EditPerson.py: Removed the conflict of using pmap for two seperate purposes - mapping places to iterators and places to keys. The place to diff --git a/src/EditPerson.py b/src/EditPerson.py index d000f234b..9374ac338 100644 --- a/src/EditPerson.py +++ b/src/EditPerson.py @@ -930,7 +930,7 @@ class EditPerson: else: if surname.upper() != name.getSurname().upper(): changed = 1 - if ntype != name.getType(): + if ntype != const.InverseNameTypesMap[name.getType()]: changed = 1 if given != name.getFirstName(): changed = 1