1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2024-11-29 11:24:11 +01:00
This commit is contained in:
Thomas Tanghus 2012-10-22 15:25:12 +02:00
parent fa62f3528e
commit a9f57aff48

View File

@ -27,6 +27,7 @@ if(is_null($contactid)) {
debug('id: ' . $contactid .', categoryid: ' . $categoryid);
$catmgr = OC_Contacts_App::getVCategories();
if(!$catmgr->addToCategory($contactid, $categoryid)) {
bailOut(OC_Contacts_App::$l10n->t('Error adding contact to group.'));
}