diff --git a/import.php b/import.php index 1f893d89..6e9ee91a 100644 --- a/import.php +++ b/import.php @@ -123,7 +123,7 @@ if(!count($parts) > 0) { } foreach($parts as $part) { try { - $vcard = Sabre\VObject\Reader::read($contact['carddata']); + $vcard = Sabre\VObject\Reader::read($part); } catch (Exception $e) { $failed += 1; OCP\Util::writeLog('contacts',