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);
|
$fileManager = $this->getInput('profilEditFileManager', helper::FILTER_BOOLEAN);
|
||||||
$path = $this->getInput('profilEditPath');
|
$path = $this->getInput('profilEditPath');
|
||||||
if (
|
if (
|
||||||
$group <= self::GROUP_ADMIN
|
$group < self::GROUP_MEMBER
|
||||||
&& $fileManager
|
&& $fileManager
|
||||||
&& empty($path)
|
&& empty($path)
|
||||||
) {
|
) {
|
||||||
@ -806,7 +806,7 @@ class user extends common
|
|||||||
$fileManager = $this->getInput('profilAddFileManager', helper::FILTER_BOOLEAN);
|
$fileManager = $this->getInput('profilAddFileManager', helper::FILTER_BOOLEAN);
|
||||||
$path = $this->getInput('profilAddPath');
|
$path = $this->getInput('profilAddPath');
|
||||||
if (
|
if (
|
||||||
$group <= self::GROUP_ADMIN
|
$group < self::GROUP_MEMBER
|
||||||
&& $fileManager
|
&& $fileManager
|
||||||
&& empty($path)
|
&& empty($path)
|
||||||
) {
|
) {
|
||||||
|
Loading…
Reference in New Issue
Block a user