summaryrefslogtreecommitdiffstats
path: root/apps/contacts/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/contacts/index.php')
-rw-r--r--apps/contacts/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/contacts/index.php b/apps/contacts/index.php
index 29d41d3c4c4..744b6902331 100644
--- a/apps/contacts/index.php
+++ b/apps/contacts/index.php
@@ -71,7 +71,7 @@ $details = array();
if( !is_null($id) || count($contacts)){
if(is_null($id)) $id = $contacts[0]['id'];
$contact = OC_Contacts_VCard::find($id);
- $vcard = OC_Contacts_VCard::parse($contact['carddata']);
+ $vcard = OC_VObject::parse($contact['carddata']);
$details = OC_Contacts_VCard::structureContact($vcard);
}