aboutsummaryrefslogtreecommitdiffstats
path: root/apps/contacts/ajax/showaddcard.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/contacts/ajax/showaddcard.php')
-rw-r--r--apps/contacts/ajax/showaddcard.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/contacts/ajax/showaddcard.php b/apps/contacts/ajax/showaddcard.php
index 58567392d7c..2f534f0fe2d 100644
--- a/apps/contacts/ajax/showaddcard.php
+++ b/apps/contacts/ajax/showaddcard.php
@@ -27,6 +27,7 @@ $l10n = new OC_L10N('contacts');
// Check if we are a user
OC_JSON::checkLoggedIn();
+OC_JSON::checkAppEnabled('contacts');
$addressbooks = OC_Contacts_Addressbook::all(OC_USER::getUser());
$tmpl = new OC_Template('contacts','part.addcardform');