diff options
Diffstat (limited to 'templates/project_tasks.php')
-rw-r--r-- | templates/project_tasks.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/project_tasks.php b/templates/project_tasks.php index ed244c34..5b3125f8 100644 --- a/templates/project_tasks.php +++ b/templates/project_tasks.php @@ -4,7 +4,7 @@ <ul> <li><a href="?controller=board&action=show&project_id=<?= $project['id'] ?>"><?= t('Back to the board') ?></a></li> <li><a href="?controller=project&action=index"><?= t('List of projects') ?></a></li> - <?php if ($_SESSION['user']['is_admin'] == 1): ?> + <?php if (Helper\is_admin()): ?> <li><a href="?controller=project&action=create"><?= t('New project') ?></a></li> <?php endif ?> </ul> |