aboutsummaryrefslogtreecommitdiff
path: root/app/view/templates/read.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2018-11-22 00:09:55 +0100
committervincent-peugnet <v.peugnet@free.fr>2018-11-22 00:09:55 +0100
commitd46c05b12b9dcd65d2d9cd230bf45b5bdf6fa8bd (patch)
treed763a0488fa3055a1a75b2d669744fcb8526ab92 /app/view/templates/read.php
parent47689d1fdfb2c33ee5e00cfe9fe529d6ba3529db (diff)
downloadwcms-d46c05b12b9dcd65d2d9cd230bf45b5bdf6fa8bd.tar.gz
wcms-d46c05b12b9dcd65d2d9cd230bf45b5bdf6fa8bd.zip
linkfrom analyse
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