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