diff options
author | Frederic Guillot <fred@kanboard.net> | 2017-09-23 20:56:54 -0700 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2017-09-23 20:56:54 -0700 |
commit | 3e0f14ae2b0b5a44bd038a472f17eac75f538524 (patch) | |
tree | 031247eca17a7a3d1d73490f5c10b12cbe9caadb /app/Controller/SubtaskRestrictionController.php | |
parent | 074f6c104f3e49401ef0065540338fc2d4be79f0 (diff) |
Do not expose IDs in forms
Diffstat (limited to 'app/Controller/SubtaskRestrictionController.php')
-rw-r--r-- | app/Controller/SubtaskRestrictionController.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Controller/SubtaskRestrictionController.php b/app/Controller/SubtaskRestrictionController.php index 99315931..315b023d 100644 --- a/app/Controller/SubtaskRestrictionController.php +++ b/app/Controller/SubtaskRestrictionController.php @@ -20,7 +20,7 @@ class SubtaskRestrictionController extends BaseController public function show() { $task = $this->getTask(); - $subtask = $this->getSubtask(); + $subtask = $this->getSubtask($task); $this->response->html($this->template->render('subtask_restriction/show', array( 'status_list' => array( @@ -41,7 +41,7 @@ class SubtaskRestrictionController extends BaseController public function save() { $task = $this->getTask(); - $subtask = $this->getSubtask(); + $subtask = $this->getSubtask($task); $values = $this->request->getValues(); // Change status of the previous "in progress" subtask |