|
|
@ -584,11 +584,14 @@ class rcube_csv2vcard
|
|
|
|
|
|
|
|
|
|
|
|
if (!empty($contact['groups'])) {
|
|
|
|
if (!empty($contact['groups'])) {
|
|
|
|
// categories/groups separator in vCard is ',' not ';'
|
|
|
|
// categories/groups separator in vCard is ',' not ';'
|
|
|
|
|
|
|
|
$contact['groups'] = str_replace(',', '', $contact['groups']);
|
|
|
|
$contact['groups'] = str_replace(';', ',', $contact['groups']);
|
|
|
|
$contact['groups'] = str_replace(';', ',', $contact['groups']);
|
|
|
|
|
|
|
|
|
|
|
|
// remove "* " added by GMail
|
|
|
|
|
|
|
|
if (!empty($this->gmail_map)) {
|
|
|
|
if (!empty($this->gmail_map)) {
|
|
|
|
|
|
|
|
// remove "* " added by GMail
|
|
|
|
$contact['groups'] = str_replace('* ', '', $contact['groups']);
|
|
|
|
$contact['groups'] = str_replace('* ', '', $contact['groups']);
|
|
|
|
|
|
|
|
// replace strange delimiter
|
|
|
|
|
|
|
|
$contact['groups'] = str_replace(' ::: ', ',', $contact['groups']);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|