summaryrefslogtreecommitdiff
path: root/app/Template/dashboard/subtasks.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/dashboard/subtasks.php')
-rw-r--r--app/Template/dashboard/subtasks.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Template/dashboard/subtasks.php b/app/Template/dashboard/subtasks.php
index 13770f0f..d86b1ef9 100644
--- a/app/Template/dashboard/subtasks.php
+++ b/app/Template/dashboard/subtasks.php
@@ -25,7 +25,7 @@
<?= $this->url->link($this->text->e($subtask['task_name']), 'TaskViewController', 'show', array('task_id' => $subtask['task_id'], 'project_id' => $subtask['project_id'])) ?>
</td>
<td>
- <?= $this->subtask->toggleStatus($subtask, $subtask['project_id']) ?>
+ <?= $this->subtask->renderToggleStatus(array('project_id' => $subtask['project_id']), $subtask) ?>
</td>
<?= $this->hook->render('template:dashboard:subtasks:rows', array('subtask' => $subtask)) ?>
<td>