summaryrefslogtreecommitdiffstats
path: root/apps/tasks/ajax/addtask.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tasks/ajax/addtask.php')
-rw-r--r--apps/tasks/ajax/addtask.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/tasks/ajax/addtask.php b/apps/tasks/ajax/addtask.php
index d6e313bd089..9f35e7f21ec 100644
--- a/apps/tasks/ajax/addtask.php
+++ b/apps/tasks/ajax/addtask.php
@@ -8,7 +8,7 @@ $calendars = OC_Calendar_Calendar::allCalendars(OCP\User::getUser(), true);
$first_calendar = reset($calendars);
$cid = $first_calendar['id'];
-$input = $_GET['text'];
+$input = $_POST['text'];
$request = array();
$request['summary'] = $input;
$request["categories"] = null;