summaryrefslogtreecommitdiff
path: root/lib/Kolab/CardDAV/Plugin.php
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2013-03-14 21:14:39 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2013-03-14 21:14:39 (GMT)
commite3ec5ce29748b2ad7d1f848faa3dea4512d6de30 (patch)
tree4b78cc6fc49bd99566f75c53bcdd96fa0622ab9e /lib/Kolab/CardDAV/Plugin.php
parent9112dd0b97fee429c813cadaef6bc8e9fea46688 (diff)
downloadiRony-e3ec5ce29748b2ad7d1f848faa3dea4512d6de30.tar.gz
Improve VCard parsing and import
Diffstat (limited to 'lib/Kolab/CardDAV/Plugin.php')
-rw-r--r--lib/Kolab/CardDAV/Plugin.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Kolab/CardDAV/Plugin.php b/lib/Kolab/CardDAV/Plugin.php
index 6268989..5c39c07 100644
--- a/lib/Kolab/CardDAV/Plugin.php
+++ b/lib/Kolab/CardDAV/Plugin.php
@@ -56,6 +56,7 @@ class Plugin extends CardDAV\Plugin
$data = DAV\StringUtil::ensureUTF8($data);
try {
+ VObject\Property::$classMap['REV'] = 'Sabre\\VObject\\Property\\DateTime';
$vobj = VObject\Reader::read($data, VObject\Reader::OPTION_FORGIVING | VObject\Reader::OPTION_IGNORE_INVALID_LINES);
if ($vobj->name == 'VCARD')