summaryrefslogtreecommitdiff
path: root/app/Template/comment_list
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/comment_list')
-rw-r--r--app/Template/comment_list/create.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Template/comment_list/create.php b/app/Template/comment_list/create.php
index a1bae5eb..4c86bc06 100644
--- a/app/Template/comment_list/create.php
+++ b/app/Template/comment_list/create.php
@@ -3,6 +3,6 @@
</div>
<form method="post" action="<?= $this->url->href('CommentListController', 'save', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>" autocomplete="off">
<?= $this->form->csrf() ?>
- <?= $this->form->textEditor('comment', array(), array(), array('required' => true)) ?>
+ <?= $this->form->textEditor('comment', array('project_id' => $task['project_id']), array(), array('required' => true)) ?>
<?= $this->modal->submitButtons() ?>
</form>