summaryrefslogtreecommitdiffstats
path: root/apps/calendar/ajax/share/changepermission.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/calendar/ajax/share/changepermission.php')
-rw-r--r--apps/calendar/ajax/share/changepermission.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/calendar/ajax/share/changepermission.php b/apps/calendar/ajax/share/changepermission.php
index 2737420c94e..f3c628e8477 100644
--- a/apps/calendar/ajax/share/changepermission.php
+++ b/apps/calendar/ajax/share/changepermission.php
@@ -5,7 +5,8 @@
* later.
* See the COPYING-README file.
*/
-
+ OCP\JSON::callCheck();
+
$id = strip_tags($_GET['id']);
$idtype = strip_tags($_GET['idtype']);
$permission = (int) strip_tags($_GET['permission']);