fix: notes containing commas where not working when coming via syncML

This commit is contained in:
Cornelius Weiß 2007-07-02 13:11:13 +00:00
parent 21a7ecd969
commit e3203f7cd9

View File

@ -572,6 +572,10 @@ class vcaladdressbook extends bocontacts
$contact[$fieldName] = $cat_id;
}
break;
case 'note':
// note may contain ','s but maybe this needs to be fixed in vcard parser...
$contact[$fieldName] = trim($vcardValues[$vcardKey]['value']);
break;
default:
$contact[$fieldName] = trim($vcardValues[$vcardKey]['values'][$fieldKey]);
break;