summaryrefslogtreecommitdiff
path: root/app/Template/user/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/user/index.php')
-rw-r--r--app/Template/user/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Template/user/index.php b/app/Template/user/index.php
index a6da9f65..e4729501 100644
--- a/app/Template/user/index.php
+++ b/app/Template/user/index.php
@@ -1,6 +1,6 @@
<section id="main">
<div class="page-header">
- <?php if ($this->acl->isAdminUser()): ?>
+ <?php if ($this->userSession->isAdmin()): ?>
<ul>
<li><i class="fa fa-plus fa-fw"></i><?= $this->a(t('New user'), 'user', 'create') ?></li>
</ul>