From f45cccfc0ac4f2b754fb9ddb4b9cdf3010a35b00 Mon Sep 17 00:00:00 2001 From: Thomas Tanghus Date: Tue, 29 May 2012 16:45:52 +0200 Subject: [PATCH] Contacts: NOTE wasn't saved properly. --- ajax/saveproperty.php | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/ajax/saveproperty.php b/ajax/saveproperty.php index 1af05682..6509ac21 100644 --- a/ajax/saveproperty.php +++ b/ajax/saveproperty.php @@ -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;