diff options
Diffstat (limited to 'app/Template/task/show.php')
-rw-r--r-- | app/Template/task/show.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Template/task/show.php b/app/Template/task/show.php index b79903b4..2b54eea8 100644 --- a/app/Template/task/show.php +++ b/app/Template/task/show.php @@ -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)) ?> |