diff --git a/ChangeLog b/ChangeLog index d0086495f..f17958fb4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-08-07 Francis Lachapelle + + * UI/Contacts/UIxListEditor.m (-setReferencesValue:): check for + duplicates in the new list, not in the previous version. + 2012-08-03 Jean Raby * SoObjects/SOGo/LDAPSource.m (changePasswordForLogin): diff --git a/UI/Contacts/UIxListEditor.m b/UI/Contacts/UIxListEditor.m index b13677e5f..d9478b9cc 100644 --- a/UI/Contacts/UIxListEditor.m +++ b/UI/Contacts/UIxListEditor.m @@ -147,7 +147,7 @@ for (i = 0; i < count; i++) { currentReference = [references objectAtIndex: i]; - if (![self cardReferences: initialReferences + if (![self cardReferences: [list cardReferences] contain: currentReference]) { // Search contact by vCard UID