aboutsummaryrefslogtreecommitdiff
path: root/app/view/templates/read.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/view/templates/read.php')
-rw-r--r--app/view/templates/read.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/view/templates/read.php b/app/view/templates/read.php
index 1911cf6..4e18cb3 100644
--- a/app/view/templates/read.php
+++ b/app/view/templates/read.php
@@ -52,7 +52,7 @@ $this->stop();
} else {
echo '<h1>' . $alertnotexist . '</h1>';
- if ($cancreate) {
+ if ($user->iseditor()) {
?>
<a href="<?= $this->uart('artadd', $art->id()) ?>">⭐ Create</a>
<?php