From 06c2dfcc3fdc9ae8895e12a2ca9132abe69f4fbd Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Fri, 1 Dec 2023 15:45:57 +0100 Subject: [PATCH] fix profil edit permanent --- core/module/user/user.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/module/user/user.php b/core/module/user/user.php index 9917e14..758f659 100644 --- a/core/module/user/user.php +++ b/core/module/user/user.php @@ -655,7 +655,7 @@ class user extends common $data = [ 'name' => $this->getInput('profilEditName', helper::FILTER_STRING_SHORT, true), 'readonly' => false, - 'permanent' => $group === '1' ? true : false, + 'permanent' => $profil === '1' ? true : false, 'comment' => $this->getInput('profilEditComment', helper::FILTER_STRING_SHORT, true), 'filemanager' => $fileManager, 'file' => [