summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/ajax/setpermissions.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/ajax/setpermissions.php')
-rw-r--r--apps/files_sharing/ajax/setpermissions.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_sharing/ajax/setpermissions.php b/apps/files_sharing/ajax/setpermissions.php
index 4d19cd40f2d..31b7a3878ef 100644
--- a/apps/files_sharing/ajax/setpermissions.php
+++ b/apps/files_sharing/ajax/setpermissions.php
@@ -2,6 +2,7 @@
OCP\JSON::checkAppEnabled('files_sharing');
OCP\JSON::checkLoggedIn();
+OCP\JSON::callCheck();
$source = '/'.OCP\USER::getUser().'/files'.$_POST['source'];
$uid_shared_with = $_POST['uid_shared_with'];