diff options
Diffstat (limited to 'program/lib/Roundcube/rcube_csv2vcard.php')
-rw-r--r-- | program/lib/Roundcube/rcube_csv2vcard.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/program/lib/Roundcube/rcube_csv2vcard.php b/program/lib/Roundcube/rcube_csv2vcard.php index b7d159178..802ca730d 100644 --- a/program/lib/Roundcube/rcube_csv2vcard.php +++ b/program/lib/Roundcube/rcube_csv2vcard.php @@ -584,11 +584,14 @@ class rcube_csv2vcard if (!empty($contact['groups'])) { // categories/groups separator in vCard is ',' not ';' + $contact['groups'] = str_replace(',', '', $contact['groups']); $contact['groups'] = str_replace(';', ',', $contact['groups']); - // remove "* " added by GMail if (!empty($this->gmail_map)) { + // remove "* " added by GMail $contact['groups'] = str_replace('* ', '', $contact['groups']); + // replace strange delimiter + $contact['groups'] = str_replace(' ::: ', ',', $contact['groups']); } } |