Monotone-Parent: 71440e99d4aaef941747ff066471092846387f65

Monotone-Revision: 37d86b8e5ad24c1858630f995fbaac5a979617e2

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-03-09T04:17:09
maint-2.0.2
Wolfgang Sourdeau 2012-03-09 04:17:09 +00:00
parent 1ea14cf2d6
commit 1fe00b795c
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2012-03-08 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/Contacts/NGVCard+SOGo.m
(_setupEmailFieldsInLDIFRecord:): the value of card elements were
not properly extracted when no email field were of type "home" or
"work".
2012-03-08 Francis Lachapelle <flachapelle@inverse.ca>
* UI/WebServerResources/generic.js (getTopWindow): extend the

View File

@ -375,9 +375,9 @@ convention:
if (!mail)
{
mail = [elements objectAtIndex: 0];
mail = [[elements objectAtIndex: 0] flattenedValuesForKey: @""];
if (max > 1) /* we know secondEmail is not set here either... */
secondEmail = [elements objectAtIndex: 1];
secondEmail = [[elements objectAtIndex: 1] flattenedValuesForKey: @""];
}
[self _setValue: @"mail" to: mail inLDIFRecord: ldifRecord];