From 01d6300d907ec7efab540b4084eb33d40a2464db Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Wed, 7 Feb 2024 18:39:58 +0100 Subject: [PATCH] =?UTF-8?q?1.4.22=20Autorise=20l'ic=C3=B4ne=20RFM=20pour?= =?UTF-8?q?=20les=20=C3=A9diteurs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/class/layout.class.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/core/class/layout.class.php b/core/class/layout.class.php index 2d0eced..3bf7d0e 100644 --- a/core/class/layout.class.php +++ b/core/class/layout.class.php @@ -1055,12 +1055,8 @@ class layout extends common $rightItems = ''; if ( ( - // ZwiiCampus ------ - self::$siteContent !== 'home' - // ZwiiCampus ------ - && $this->getUser('group') >= self::GROUP_MEMBER + $this->getUser('group') === self::GROUP_MEMBER && $this->getUser('permission', 'filemanager') - ) || $this->getUser('group') == self::GROUP_ADMIN ) {