summaryrefslogtreecommitdiffstats
path: root/apps/contacts/lib/vcard.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/contacts/lib/vcard.php')
-rw-r--r--apps/contacts/lib/vcard.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/contacts/lib/vcard.php b/apps/contacts/lib/vcard.php
index 15a6176d40c..1502423b90f 100644
--- a/apps/contacts/lib/vcard.php
+++ b/apps/contacts/lib/vcard.php
@@ -234,7 +234,7 @@ class OC_Contacts_VCard{
return null;
};
- OC_Contacts_App::$categories->loadFromVObject($card);
+ OC_Contacts_App::loadCategoriesFromVCard($card);
self::updateValuesFromAdd($card);
@@ -306,7 +306,7 @@ class OC_Contacts_VCard{
return false;
}
- OC_Contacts_App::$categories->loadFromVObject($card);
+ OC_Contacts_App::loadCategoriesFromVCard($card);
$fn = $card->getAsString('FN');
if (empty($fn)) {