diff --git a/core/class/layout.class.php b/core/class/layout.class.php index ab3d8fc..1096d6c 100644 --- a/core/class/layout.class.php +++ b/core/class/layout.class.php @@ -506,7 +506,7 @@ class layout extends common } // Commandes pour les membres simples if ( - $this->getUser('group') >= self::GROUP_MEMBER && $this->getUser('group') < self::GROUP_ADMIN + $this->getUser('group') === self::GROUP_MEMBER && $this->getData(['theme', 'menu', 'memberBar']) === true ) { if ( @@ -1036,7 +1036,7 @@ class layout extends common // ZwiiCampus ------ self::$siteContent !== 'home' // ZwiiCampus ------ - && $this->getUser('group') >= self::GROUP_EDITOR + && $this->getUser('group') >= self::GROUP_MEMBER && $this->getUser('permission', 'filemanager') )