]> source.dussan.org Git - nextcloud-server.git/commitdiff
Contacts: NOTE wasn't saved properly.
authorThomas Tanghus <thomas@tanghus.net>
Tue, 29 May 2012 14:42:54 +0000 (16:42 +0200)
committerThomas Tanghus <thomas@tanghus.net>
Tue, 29 May 2012 14:43:59 +0000 (16:43 +0200)
apps/contacts/ajax/saveproperty.php

index 1af05682b63eb349782dc9453c473cd2b36f32e1..e4537cd97934be9d6fac05db962c87782fc983dc 100644 (file)
@@ -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;