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:
parent
4e8f009ea5
commit
1f24f0b679
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue