summaryrefslogtreecommitdiffstats
path: root/apps/calendar/ajax/share/dropdown.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/calendar/ajax/share/dropdown.php')
-rw-r--r--apps/calendar/ajax/share/dropdown.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/calendar/ajax/share/dropdown.php b/apps/calendar/ajax/share/dropdown.php
index a3b0faca4bf..86cf4ac090e 100644
--- a/apps/calendar/ajax/share/dropdown.php
+++ b/apps/calendar/ajax/share/dropdown.php
@@ -7,7 +7,7 @@
*/
$user = OCP\USER::getUser();
-$calid = $_GET['calid'];
+$calid = $_POST['calid'];
$calendar = OC_Calendar_Calendar::find($calid);
if($calendar['userid'] != $user){
OCP\JSON::error();