Contacts: NOTE wasn't saved properly.

This commit is contained in:
Thomas Tanghus 2012-05-29 16:45:52 +02:00
parent 1c1ed52867
commit 6515c5c1e7
1 changed files with 3 additions and 6 deletions

View File

@ -96,12 +96,9 @@ switch($element) {
//$value = getOtherValue();
}
break;
//case 'CATEGORIES':
/* multi autocomplete triggers an save with empty value
if (!$value) {
$value = $vcard->getAsString('CATEGORIES');
}
break;*/
case 'NOTE':
$value = str_replace('\n', '\\n', $value);
break;
case 'EMAIL':
$value = strtolower($value);
break;