Fix bug where contacts were moved instead of copied. Internal date
need to be cleared when converting from kolab to Roundcube format (Bug #1767)
This commit is contained in:
parent
db055e29c7
commit
f958537e55
1 changed files with 6 additions and 1 deletions
|
@ -1080,7 +1080,12 @@ class rcube_kolab_contacts extends rcube_addressbook
|
|||
$record['pgppublickey'] = substr($record['pgppublickey'], 0, 140) . '...';
|
||||
|
||||
// remove empty fields
|
||||
return array_filter($record);
|
||||
$record = array_filter($record);
|
||||
|
||||
// remove kolab_storage internal data
|
||||
unset($record['_msguid'], $record['_formatobj'], $record['_mailbox'], $record['_type'], $record['_size']);
|
||||
|
||||
return $record;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue