summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2014-01-28 15:21:30 (GMT)
committerThomas Bruederli <thomas@roundcube.net>2014-01-28 15:22:13 (GMT)
commit5d2ced66c609913f5d54143ac9b4f50ce0b6c7b8 (patch)
tree7f68bf0ddb98216e892e504716d43708749efff5
parentb46890c7e6dd694b2ba99e165fd2332fc2732683 (diff)
downloadiRony-5d2ced66c609913f5d54143ac9b4f50ce0b6c7b8.tar.gz
Map TITLE property to the corresponding internal field 'jobtitle' (#2808)
-rw-r--r--lib/Kolab/CardDAV/ContactsBackend.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Kolab/CardDAV/ContactsBackend.php b/lib/Kolab/CardDAV/ContactsBackend.php
index 2dd01f3..e277077 100644
--- a/lib/Kolab/CardDAV/ContactsBackend.php
+++ b/lib/Kolab/CardDAV/ContactsBackend.php
@@ -816,6 +816,9 @@ class ContactsBackend extends CardDAV\Backend\AbstractBackend
break;
case 'TITLE':
+ $contact['jobtitle'] = $prop->value;
+ break;
+
case 'NICKNAME':
$contact[strtolower($prop->name)] = $prop->value;
break;