diff options
author | Raimund Schlüßler <raimund.schluessler@googlemail.com> | 2015-06-21 01:30:11 +0300 |
---|---|---|
committer | Raimund Schlüßler <raimund.schluessler@googlemail.com> | 2015-06-21 01:30:11 +0300 |
commit | 69eedf7c92341d9fc895920ac0f32e9e5baec19f (patch) | |
tree | 2340ecc695deddb67964523351b5de964384de03 /service | |
parent | 88a6e747415fde029b8313d9302252259046839d (diff) |
Fix creation of new task
Diffstat (limited to 'service')
-rw-r--r-- | service/tasksservice.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/service/tasksservice.php b/service/tasksservice.php index 7bcdefc8..b33928fa 100644 --- a/service/tasksservice.php +++ b/service/tasksservice.php @@ -143,7 +143,9 @@ class TasksService { $task = Helper::arrayForJSON($taskID, $vcalendar->VTODO, $user_timezone, $calendarId); $task['tmpID'] = $tmpID; - return $task; + return array( + 'task' => $task + ); } /** |