diff options
author | Thomas Tanghus <thomas@tanghus.net> | 2012-08-19 18:32:32 +0400 |
---|---|---|
committer | Thomas Tanghus <thomas@tanghus.net> | 2012-08-19 18:32:32 +0400 |
commit | 4946e23bdc8e784568a707ad37d66957f5d88867 (patch) | |
tree | c24ceace355a0215c18d278fed52812aa2d081f2 /apps/contacts | |
parent | a4e840f4f1017a469239dfaed95abbfc63fa31dd (diff) |
Strip slashes from commas and semi-colons.
Diffstat (limited to 'apps/contacts')
-rw-r--r-- | apps/contacts/lib/vcard.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/contacts/lib/vcard.php b/apps/contacts/lib/vcard.php index 91ac89f5535..81ae689d9a2 100644 --- a/apps/contacts/lib/vcard.php +++ b/apps/contacts/lib/vcard.php @@ -552,6 +552,9 @@ class OC_Contacts_VCard{ } } } + if(is_string($value)) { + $value = strtr($value, array('\,' => ',', '\;' => ';')); + } $temp = array( 'name' => $property->name, 'value' => $value, |