diff options
Diffstat (limited to 'app/Controller')
-rw-r--r-- | app/Controller/Task.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/Controller/Task.php b/app/Controller/Task.php index 15482afc..7414f7f9 100644 --- a/app/Controller/Task.php +++ b/app/Controller/Task.php @@ -108,6 +108,8 @@ class Task extends Base public function save() { $values = $this->request->getValues(); + $values['creator_id'] = $this->acl->getUserId(); + $this->checkProjectPermissions($values['project_id']); list($valid, $errors) = $this->task->validateCreation($values); |