From d46c05b12b9dcd65d2d9cd230bf45b5bdf6fa8bd Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Thu, 22 Nov 2018 00:09:55 +0100 Subject: linkfrom analyse --- app/view/templates/read.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/view/templates/read.php') 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 '

' . $alertnotexist . '

'; - if ($cancreate) { + if ($user->iseditor()) { ?> ⭐ Create