diff --git a/plugins/kolab_addressbook/lib/rcube_kolab_contacts.php b/plugins/kolab_addressbook/lib/rcube_kolab_contacts.php index 3c578e6d..16689cdc 100644 --- a/plugins/kolab_addressbook/lib/rcube_kolab_contacts.php +++ b/plugins/kolab_addressbook/lib/rcube_kolab_contacts.php @@ -892,6 +892,10 @@ class rcube_kolab_contacts extends rcube_addressbook // read contacts $this->contacts = $this->id2uid = array(); foreach ((array)$this->contactstorage->getObjects() as $record) { + // Because of a bug, sometimes group records are returned + if ($record['__type'] == 'Group') + continue; + $contact = $this->_to_rcube_contact($record); $id = $contact['ID']; $this->contacts[$id] = $contact;