From 451716dbba67128a1f7a5badfa7eec47a481c36f Mon Sep 17 00:00:00 2001 From: Thomas Tanghus Date: Fri, 19 Oct 2012 02:28:27 +0200 Subject: [PATCH] Use type, not app for categories. --- ajax/categories/delete.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ajax/categories/delete.php b/ajax/categories/delete.php index 53423426..0001992e 100644 --- a/ajax/categories/delete.php +++ b/ajax/categories/delete.php @@ -41,7 +41,7 @@ foreach($contacts as $contact) { debug('Before delete: '.print_r($categories, true)); -$catman = new OC_VCategories('contacts'); +$catman = new OC_VCategories('contact'); $catman->delete($categories, $cards); debug('After delete: '.print_r($catman->categories(), true)); OC_Contacts_VCard::updateDataByID($cards);