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) ) {