plugins/kolab_addressbook
Aleksander Machniak
machniak at kolabsys.com
Fri Apr 12 19:07:26 CEST 2013
plugins/kolab_addressbook/lib/rcube_kolab_contacts.php | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit db055e29c71b4c7d9ecde94f0550ee705633432c
Author: Aleksander Machniak <machniak at kolabsys.com>
Date: Fri Apr 12 19:05:45 2013 +0200
Remove useless 'vcard' data on contact import - fixes problem with such data
serialization in kolab_cache (Bug #1711)
diff --git a/plugins/kolab_addressbook/lib/rcube_kolab_contacts.php b/plugins/kolab_addressbook/lib/rcube_kolab_contacts.php
index 6e32bc7..9725503 100644
--- a/plugins/kolab_addressbook/lib/rcube_kolab_contacts.php
+++ b/plugins/kolab_addressbook/lib/rcube_kolab_contacts.php
@@ -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']);
}
More information about the commits
mailing list