summaryrefslogtreecommitdiff
path: root/lib/Kolab/CardDAV/ContactsBackend.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Kolab/CardDAV/ContactsBackend.php')
-rw-r--r--lib/Kolab/CardDAV/ContactsBackend.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Kolab/CardDAV/ContactsBackend.php b/lib/Kolab/CardDAV/ContactsBackend.php
index a1a86b3..414805a 100644
--- a/lib/Kolab/CardDAV/ContactsBackend.php
+++ b/lib/Kolab/CardDAV/ContactsBackend.php
@@ -762,9 +762,10 @@ class ContactsBackend extends CardDAV\Backend\AbstractBackend
private function _to_array($vc)
{
$contact = array(
+ '_type' => 'contact',
'uid' => strval($vc->UID),
'name' => strval($vc->FN),
- '_type' => 'contact',
+ 'x-custom' => array(),
);
if ($vc->REV) {