diff --git a/module/blog/view/article/article.php b/module/blog/view/article/article.php index 41c30a49..51c6ec80 100644 --- a/module/blog/view/article/article.php +++ b/module/blog/view/article/article.php @@ -19,13 +19,14 @@ ) OR ( // Groupe - $this->getData(['module', $this->getUrl(0), $this->getUrl(1),'editConsent']) !== $module::EDIT_OWNER + ( $this->getData(['module', $this->getUrl(0), $this->getUrl(1),'editConsent']) === self::GROUP_ADMIN + OR $this->getData(['module', $this->getUrl(0), $this->getUrl(1),'editConsent']) === self::GROUP_MODERATOR) AND $this->getUser('group') >= $this->getData(['module',$this->getUrl(0), $this->getUrl(1),'editConsent']) ) OR ( // Tout le monde $this->getData(['module', $this->getUrl(0), $this->getUrl(1),'editConsent']) === $module::EDIT_ALL - AND $this->getUser('group') >= $module::$action['config'] + AND $this->getUser('group') >= $module::$actions['config'] ) ) ): ?> @@ -44,7 +45,7 @@ } ?> getData(['module', $this->getUrl(0), $this->getUrl(1), 'content']); ?>

- getData(['module', $this->getUrl(0), $this->getUrl(1), 'closeComment'])): ?> + getData(['module', $this->getUrl(0), $this->getUrl(1), 'commentClose'])): ?>

Cet article ne reçoit pas de commentaire.