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.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/calendar/ajax/share/changepermission.php b/apps/calendar/ajax/share/changepermission.php
index e807c164a23..5aff7666f79 100644
--- a/apps/calendar/ajax/share/changepermission.php
+++ b/apps/calendar/ajax/share/changepermission.php
@@ -5,7 +5,9 @@
* later.
* See the COPYING-README file.
*/
-
+
+OCP\JSON::callCheck();
+
$id = strip_tags($_POST['id']);
$idtype = strip_tags($_POST['idtype']);
$permission = (int) strip_tags($_POST['permission']);