From 51aa84e70adaa83ee195c4a187c490b073d16a00 Mon Sep 17 00:00:00 2001 From: Thomas Tanghus Date: Tue, 29 May 2012 16:42:54 +0200 Subject: [PATCH] Contacts: NOTE wasn't saved properly. --- apps/contacts/ajax/saveproperty.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/contacts/ajax/saveproperty.php b/apps/contacts/ajax/saveproperty.php index 1af05682b63..e4537cd9793 100644 --- a/apps/contacts/ajax/saveproperty.php +++ b/apps/contacts/ajax/saveproperty.php @@ -102,6 +102,8 @@ switch($element) { $value = $vcard->getAsString('CATEGORIES'); } break;*/ + case 'NOTE': + $value = str_replace('\n', '\\n', $value); case 'EMAIL': $value = strtolower($value); break; -- 2.39.5