fix edit profil
This commit is contained in:
parent
0253e55de2
commit
88fd7e5d49
@ -648,7 +648,10 @@ class user extends common
|
||||
) {
|
||||
$fileManager = false;
|
||||
}
|
||||
if ($profil !== $profil) {
|
||||
if (
|
||||
$profil !== $oldProfil &&
|
||||
$this->deleteData(['profil', $group, $oldProfil])
|
||||
) {
|
||||
$this->deleteData(['profil', $group, $oldProfil]);
|
||||
}
|
||||
// Données du formulaire
|
||||
|
Loading…
Reference in New Issue
Block a user