From 6515c5c1e77e4abd8e9d504c1cec6455946bf52c 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. --- apps/contacts/ajax/saveproperty.php | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/apps/contacts/ajax/saveproperty.php b/apps/contacts/ajax/saveproperty.php index 1af05682b6..6509ac21f2 100644 --- a/apps/contacts/ajax/saveproperty.php +++ b/apps/contacts/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;