fix profil edit permanent

This commit is contained in:
Fred Tempez 2023-12-01 15:45:57 +01:00
parent ac2f0bf69f
commit 06c2dfcc3f

View File

@ -655,7 +655,7 @@ class user extends common
$data = [ $data = [
'name' => $this->getInput('profilEditName', helper::FILTER_STRING_SHORT, true), 'name' => $this->getInput('profilEditName', helper::FILTER_STRING_SHORT, true),
'readonly' => false, 'readonly' => false,
'permanent' => $group === '1' ? true : false, 'permanent' => $profil === '1' ? true : false,
'comment' => $this->getInput('profilEditComment', helper::FILTER_STRING_SHORT, true), 'comment' => $this->getInput('profilEditComment', helper::FILTER_STRING_SHORT, true),
'filemanager' => $fileManager, 'filemanager' => $fileManager,
'file' => [ 'file' => [