summaryrefslogtreecommitdiff
path: root/app/Template/listing/show.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/listing/show.php')
-rw-r--r--app/Template/listing/show.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Template/listing/show.php b/app/Template/listing/show.php
index a5cba1c4..1c92de4c 100644
--- a/app/Template/listing/show.php
+++ b/app/Template/listing/show.php
@@ -18,7 +18,7 @@
<?php foreach ($paginator->getCollection() as $task): ?>
<tr>
<td class="task-table color-<?= $task['color_id'] ?>">
- <?php if ($this->user->hasProjectAccess('taskmodification', 'edit', $task['project_id'])): ?>
+ <?php if ($this->user->hasProjectAccess('TaskModificationController', 'edit', $task['project_id'])): ?>
<?= $this->render('task/dropdown', array('task' => $task)) ?>
<?php else: ?>
#<?= $task['id'] ?>