diff --git a/core/ajax/share.php b/core/ajax/share.php index b615cfd3541..446d4cc32ec 100644 --- a/core/ajax/share.php +++ b/core/ajax/share.php @@ -21,6 +21,8 @@ require_once '../../lib/base.php'; OC_JSON::checkLoggedIn(); +OCP\JSON::callCheck(); + if (isset($_POST['action']) && isset($_POST['itemType']) && isset($_POST['itemSource'])) { switch ($_POST['action']) { case 'share':