summaryrefslogtreecommitdiffstats
path: root/apps/tasks/ajax/delete.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tasks/ajax/delete.php')
-rw-r--r--apps/tasks/ajax/delete.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/tasks/ajax/delete.php b/apps/tasks/ajax/delete.php
index 6d2868748d1..e29add9b556 100644
--- a/apps/tasks/ajax/delete.php
+++ b/apps/tasks/ajax/delete.php
@@ -24,7 +24,7 @@
OCP\JSON::checkLoggedIn();
OCP\JSON::checkAppEnabled('tasks');
-$id = $_GET['id'];
+$id = $_POST['id'];
$task = OC_Calendar_App::getEventObject( $id );
OC_Calendar_Object::delete($id);