diff options
author | Thomas Tanghus <thomas@tanghus.net> | 2012-05-29 16:42:54 +0200 |
---|---|---|
committer | Thomas Tanghus <thomas@tanghus.net> | 2012-05-29 16:43:59 +0200 |
commit | 51aa84e70adaa83ee195c4a187c490b073d16a00 (patch) | |
tree | 38b1ba63ef5ac8b835dfdb3be5ec191e2b8908bd /apps/contacts/ajax | |
parent | dff16e70a9e9d26ebc416dcd046e3d65e55c5c35 (diff) | |
download | nextcloud-server-51aa84e70adaa83ee195c4a187c490b073d16a00.tar.gz nextcloud-server-51aa84e70adaa83ee195c4a187c490b073d16a00.zip |
Contacts: NOTE wasn't saved properly.
Diffstat (limited to 'apps/contacts/ajax')
-rw-r--r-- | apps/contacts/ajax/saveproperty.php | 2 |
1 files changed, 2 insertions, 0 deletions
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; |