summaryrefslogtreecommitdiff
path: root/app/Template/task_comments/show.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/task_comments/show.php')
-rw-r--r--app/Template/task_comments/show.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/Template/task_comments/show.php b/app/Template/task_comments/show.php
index d34e5e95..47bb5ff2 100644
--- a/app/Template/task_comments/show.php
+++ b/app/Template/task_comments/show.php
@@ -25,7 +25,11 @@
<?php if ($editable): ?>
<?= $this->render('task_comments/create', array(
- 'values' => array(),
+ 'values' => array(
+ 'user_id' => $this->user->getId(),
+ 'task_id' => $task['id'],
+ 'project_id' => $task['project_id'],
+ ),
'errors' => array(),
'task' => $task,
)) ?>