From eea5e43149ea721b8e6cdfd3e26c4253345c7f0a Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Fri, 6 Oct 2023 09:15:50 +0200 Subject: [PATCH] fix profil empty path --- core/module/user/user.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/module/user/user.php b/core/module/user/user.php index eb251525..641fcb10 100644 --- a/core/module/user/user.php +++ b/core/module/user/user.php @@ -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)