Remove useless 'vcard' data on contact import - fixes problem with such data
serialization in kolab_cache (Bug #1711)
This commit is contained in:
parent
4d2320cf1c
commit
db055e29c7
1 changed files with 3 additions and 0 deletions
|
@ -1156,6 +1156,9 @@ class rcube_kolab_contacts extends rcube_addressbook
|
|||
}
|
||||
}
|
||||
|
||||
// When importing contacts 'vcard' data is added, we don't need it (Bug #1711)
|
||||
unset($contact['vcard']);
|
||||
|
||||
// add empty values for some fields which can be removed in the UI
|
||||
return array_filter($contact) + array('nickname' => '', 'birthday' => '', 'anniversary' => '', 'freebusyurl' => '', 'photo' => $contact['photo']);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue