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/TaskModificationController.php | |
parent | 074f6c104f3e49401ef0065540338fc2d4be79f0 (diff) |
Do not expose IDs in forms
Diffstat (limited to 'app/Controller/TaskModificationController.php')
-rw-r--r-- | app/Controller/TaskModificationController.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/Controller/TaskModificationController.php b/app/Controller/TaskModificationController.php index 1892a209..338ed540 100644 --- a/app/Controller/TaskModificationController.php +++ b/app/Controller/TaskModificationController.php @@ -98,6 +98,8 @@ class TaskModificationController extends BaseController { $task = $this->getTask(); $values = $this->request->getValues(); + $values['id'] = $task['id']; + $values['project_id'] = $task['project_id']; list($valid, $errors) = $this->taskValidator->validateModification($values); |