From 8ee8229e3f23160f48f362e2c6638af3ab446755 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Tue, 11 Aug 2020 08:25:41 +0200 Subject: [PATCH] =?UTF-8?q?Bug=20bouton=20bouton=20=C3=A9diter=20avec=20co?= =?UTF-8?q?okie=20persistant?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- module/blog/view/article/article.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/module/blog/view/article/article.php b/module/blog/view/article/article.php index 8ce7acb4..4c24f23e 100755 --- a/module/blog/view/article/article.php +++ b/module/blog/view/article/article.php @@ -6,8 +6,12 @@ à getData(['module', $this->getUrl(0), $this->getUrl(1), 'publishedOn']))); ?> - getUser('group') >= self::GROUP_ADMIN): ?> + getUser('group') >= self::GROUP_ADMIN + AND $this->getUser('password') === $this->getInput('ZWII_USER_PASSWORD') + ): ?>
+ getUser('group'); ?> helper::baseUrl() . $this->getUrl(0) . '/edit/' . $this->getUrl(1) . '/' . $_SESSION['csrf'], 'value' => 'Editer'