summaryrefslogtreecommitdiff
path: root/app/Controller/Subtask.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controller/Subtask.php')
-rw-r--r--app/Controller/Subtask.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controller/Subtask.php b/app/Controller/Subtask.php
index a0a3eb66..8ca0ce92 100644
--- a/app/Controller/Subtask.php
+++ b/app/Controller/Subtask.php
@@ -174,7 +174,7 @@ class Subtask extends Base
if (! empty($values) && $this->helper->user->hasProjectAccess('Subtask', 'movePosition', $project_id)) {
$result = $this->subtask->changePosition($task_id, $values['subtask_id'], $values['position']);
- $this->response->json(array('result' => $result));
+ return $this->response->json(array('result' => $result));
}
$this->forbidden();