summaryrefslogtreecommitdiff
path: root/app/Controller/SubtaskRestrictionController.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2017-03-19 16:45:32 -0400
committerFrederic Guillot <fred@kanboard.net>2017-03-19 16:45:32 -0400
commitd915c2a96b0cbb54b9949cc04495d156e1f89332 (patch)
tree93f31d3de295c0f6cfc7c3a3bdf20cb8d7e7922a /app/Controller/SubtaskRestrictionController.php
parent5b7ed28ba1a47a5c4312017a86fb811e14c0285a (diff)
Improve subtask toggle
Diffstat (limited to 'app/Controller/SubtaskRestrictionController.php')
-rw-r--r--app/Controller/SubtaskRestrictionController.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/Controller/SubtaskRestrictionController.php b/app/Controller/SubtaskRestrictionController.php
index 0e207674..99315931 100644
--- a/app/Controller/SubtaskRestrictionController.php
+++ b/app/Controller/SubtaskRestrictionController.php
@@ -48,14 +48,12 @@ class SubtaskRestrictionController extends BaseController
$this->subtaskModel->update(array(
'id' => $values['id'],
'status' => $values['status'],
- 'task_id' => $task['id'],
));
// Set the current subtask to "in progress"
$this->subtaskModel->update(array(
'id' => $subtask['id'],
'status' => SubtaskModel::STATUS_INPROGRESS,
- 'task_id' => $task['id'],
));
$this->response->redirect($this->helper->url->to('TaskViewController', 'show', array('project_id' => $task['project_id'], 'task_id' => $task['id'])), true);