From b590f91534b7a4623d9c66764bda3d1a0c2107c6 Mon Sep 17 00:00:00 2001 From: F TEMPEZ Date: Thu, 14 Dec 2023 14:43:51 +0100 Subject: [PATCH] Corrige les droits rfm pour les membres et plus --- core/module/user/user.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/module/user/user.php b/core/module/user/user.php index 28eb9253..72be54e7 100644 --- a/core/module/user/user.php +++ b/core/module/user/user.php @@ -653,7 +653,7 @@ class user extends common $fileManager = $this->getInput('profilEditFileManager', helper::FILTER_BOOLEAN); $path = $this->getInput('profilEditPath'); if ( - $group <= self::GROUP_ADMIN + $group < self::GROUP_MEMBER && $fileManager && empty($path) ) { @@ -806,7 +806,7 @@ class user extends common $fileManager = $this->getInput('profilAddFileManager', helper::FILTER_BOOLEAN); $path = $this->getInput('profilAddPath'); if ( - $group <= self::GROUP_ADMIN + $group < self::GROUP_MEMBER && $fileManager && empty($path) ) {