summaryrefslogtreecommitdiff
path: root/app/Template/task/layout.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/task/layout.php')
-rw-r--r--app/Template/task/layout.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Template/task/layout.php b/app/Template/task/layout.php
index 6b6e827a..0ceb9706 100644
--- a/app/Template/task/layout.php
+++ b/app/Template/task/layout.php
@@ -9,7 +9,7 @@
<i class="fa fa-calendar fa-fw"></i>
<?= $this->url->link(t('Back to the calendar'), 'calendar', 'show', array('project_id' => $task['project_id'])) ?>
</li>
- <?php if ($this->user->isProjectManagementAllowed($task['project_id'])): ?>
+ <?php if ($this->user->hasProjectAccess('project', 'edit', $task['project_id'])): ?>
<li>
<i class="fa fa-cog fa-fw"></i>
<?= $this->url->link(t('Project settings'), 'project', 'show', array('project_id' => $task['project_id'])) ?>