summaryrefslogtreecommitdiffstats
path: root/apps/calendar/ajax/share/share.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/calendar/ajax/share/share.php')
-rw-r--r--apps/calendar/ajax/share/share.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/calendar/ajax/share/share.php b/apps/calendar/ajax/share/share.php
index 838db619f62..77e1ab9d657 100644
--- a/apps/calendar/ajax/share/share.php
+++ b/apps/calendar/ajax/share/share.php
@@ -6,6 +6,8 @@
* See the COPYING-README file.
*/
+OCP\JSON::callCheck();
+
$id = strip_tags($_POST['id']);
$idtype = strip_tags($_POST['idtype']);
switch($idtype){