summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2013-09-19 09:11:59 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2013-09-19 09:17:05 (GMT)
commitd187326ee49950dbe7702471ebc7c58ce1bdfb60 (patch)
tree7d40915e5e3af6b1c515c799ef10585c839e6dab
parent66c0a4bd00d817c1444ae59332963f8e853d4b50 (diff)
downloadiRony-d187326ee49950dbe7702471ebc7c58ce1bdfb60.tar.gz
iRony supports and overwrites x-custom fields
-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) {