summaryrefslogtreecommitdiff
path: root/app/Template/task/show.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/task/show.php')
-rw-r--r--app/Template/task/show.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Template/task/show.php b/app/Template/task/show.php
index 8f41d653..2b54eea8 100644
--- a/app/Template/task/show.php
+++ b/app/Template/task/show.php
@@ -3,7 +3,7 @@
<?= $this->render('task/details', array(
'task' => $task,
'project' => $project,
- 'editable' => $this->user->hasProjectAccess('taskmodification', 'edit', $project['id']),
+ 'editable' => $this->user->hasProjectAccess('TaskModificationController', 'edit', $project['id']),
)) ?>
<?= $this->hook->render('template:task:show:before-description', array('task' => $task, 'project' => $project)) ?>
@@ -46,7 +46,7 @@
'task' => $task,
'comments' => $comments,
'project' => $project,
- 'editable' => $this->user->hasProjectAccess('comment', 'edit', $project['id']),
+ 'editable' => $this->user->hasProjectAccess('CommentController', 'edit', $project['id']),
)) ?>
<?= $this->hook->render('template:task:show:bottom', array('task' => $task, 'project' => $project)) ?>