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(); //$value = getOtherValue();
} }
break; break;
//case 'CATEGORIES': case 'NOTE':
/* multi autocomplete triggers an save with empty value $value = str_replace('\n', '\\n', $value);
if (!$value) { break;
$value = $vcard->getAsString('CATEGORIES');
}
break;*/
case 'EMAIL': case 'EMAIL':
$value = strtolower($value); $value = strtolower($value);
break; break;