diff options
author | Frederic Guillot <fred@kanboard.net> | 2017-05-22 16:37:34 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2017-05-22 16:37:34 -0400 |
commit | b0537e644948804ab62c06ac73d512243287c1ae (patch) | |
tree | 8ce31f4edb7801d93fd3f19196a742bb61e999d6 /app/Template/task_comments | |
parent | ec6bec1b3b4e239149c4ddedb39bb6040bf29122 (diff) |
Fix broken user mentions in comment form at the bottom of the task view page
Diffstat (limited to 'app/Template/task_comments')
-rw-r--r-- | app/Template/task_comments/show.php | 6 |
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, )) ?> |