aboutsummaryrefslogtreecommitdiff
path: root/app/view/templates/navart.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/view/templates/navart.php')
-rw-r--r--app/view/templates/navart.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/view/templates/navart.php b/app/view/templates/navart.php
index a98eed6..d3baef5 100644
--- a/app/view/templates/navart.php
+++ b/app/view/templates/navart.php
@@ -89,7 +89,7 @@
<?php } ?>
-<?php if($user->canedit() && $artexist) { ?>
+<?php if($user->iseditor() && $artexist) { ?>
<li class="drop">
<a class="button" href="<?= $this->uart('artread/', $art->id()) ?>" target="_blank">display</a>
@@ -101,7 +101,7 @@
<?php } ?>
-<?php if ($user->canedit()) { ?>
+<?php if ($user->iseditor()) { ?>
<li class="drop">
<a class="button" href="?aff=media" >Media</a>