Force setting internal object type to prevent type overwrite

when copying contacts from other sources (e.g. LDAP) (Bug #1990)
This commit is contained in:
Aleksander Machniak 2013-07-01 08:28:54 +02:00
parent 4e8f009ea5
commit 1f24f0b679

View file

@ -255,6 +255,8 @@ class kolab_format_contact extends kolab_format
// TODO: handle language, gpslocation, etc.
// set type property for proper caching
$object['_type'] = 'contact';
// cache this data
$this->data = $object;