forked from ZwiiCMS-Team/ZwiiCMS
Corrige les droits rfm pour les membres et plus
This commit is contained in:
parent
10e6822ad5
commit
b590f91534
@ -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)
|
||||
) {
|
||||
|
Loading…
Reference in New Issue
Block a user