fix profil empty path
This commit is contained in:
parent
a96bee2873
commit
eea5e43149
@ -679,8 +679,8 @@ class user extends common
|
|||||||
$group = $this->getInput('profilAddGroup');
|
$group = $this->getInput('profilAddGroup');
|
||||||
$profil = count($this->getData(['profil', $group]));
|
$profil = count($this->getData(['profil', $group]));
|
||||||
// Gère le chemin
|
// Gère le chemin
|
||||||
$fileManager = $this->getInput('profilEditFileManager', helper::FILTER_BOOLEAN);
|
$fileManager = $this->getInput('profilAddFileManager', helper::FILTER_BOOLEAN);
|
||||||
$path = $this->getInput('profilEditPath');
|
$path = $this->getInput('profilAddPath');
|
||||||
if ($group <= self::GROUP_ADMIN
|
if ($group <= self::GROUP_ADMIN
|
||||||
&& $fileManager
|
&& $fileManager
|
||||||
&& empty($path)
|
&& empty($path)
|
||||||
|
Loading…
Reference in New Issue
Block a user