diff options
Diffstat (limited to 'apps/gallery/ajax/sharing.php')
-rw-r--r-- | apps/gallery/ajax/sharing.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gallery/ajax/sharing.php b/apps/gallery/ajax/sharing.php index fba85fa34ee..ce56d652c60 100644 --- a/apps/gallery/ajax/sharing.php +++ b/apps/gallery/ajax/sharing.php @@ -21,7 +21,7 @@ * */ -require_once('../../../lib/base.php'); + if (!isset($_GET['token']) || !isset($_GET['operation'])) { OC_JSON::error(array('cause' => 'Not enought arguments')); |