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:21:30 (GMT)
commit66898a8d6f17dc1b6ef150c552e49a5040144325 (patch)
treead809cf1c3b13d94841f6ba7d92cedc1693f8cf9
parent10960a0b968f7bf822acc3ea1d34577918194c95 (diff)
downloadiRony-66898a8d6f17dc1b6ef150c552e49a5040144325.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 90878c7..72850e5 100644
--- a/lib/Kolab/CardDAV/ContactsBackend.php
+++ b/lib/Kolab/CardDAV/ContactsBackend.php
@@ -813,6 +813,9 @@ class ContactsBackend extends CardDAV\Backend\AbstractBackend
break;
case 'TITLE':
+ $contact['jobtitle'] = $prop->value;
+ break;
+
case 'NICKNAME':
$contact[strtolower($prop->name)] = $prop->value;
break;