fix profil empty path

This commit is contained in:
Fred Tempez 2023-10-06 09:15:50 +02:00
parent a96bee2873
commit eea5e43149
1 changed files with 2 additions and 2 deletions

View File

@ -679,8 +679,8 @@ class user extends common
$group = $this->getInput('profilAddGroup');
$profil = count($this->getData(['profil', $group]));
// Gère le chemin
$fileManager = $this->getInput('profilEditFileManager', helper::FILTER_BOOLEAN);
$path = $this->getInput('profilEditPath');
$fileManager = $this->getInput('profilAddFileManager', helper::FILTER_BOOLEAN);
$path = $this->getInput('profilAddPath');
if ($group <= self::GROUP_ADMIN
&& $fileManager
&& empty($path)