summaryrefslogtreecommitdiffstats
path: root/apps/contacts/ajax/addcontact.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/contacts/ajax/addcontact.php')
-rw-r--r--apps/contacts/ajax/addcontact.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/contacts/ajax/addcontact.php b/apps/contacts/ajax/addcontact.php
index af9b2bbcc0e..e45072c9542 100644
--- a/apps/contacts/ajax/addcontact.php
+++ b/apps/contacts/ajax/addcontact.php
@@ -23,6 +23,7 @@
// Check if we are a user
OCP\JSON::checkLoggedIn();
OCP\JSON::checkAppEnabled('contacts');
+OCP\JSON::callCheck();
$aid = isset($_POST['aid'])?$_POST['aid']:null;
if(!$aid) {