Navigation Menu

Skip to content

Commit

Permalink
Fixe, correction du retour des champs à l'édition de l'utilisateur en…
Browse files Browse the repository at this point in the history
… cas d'erreurs.
  • Loading branch information
noelma committed Jan 17, 2021
1 parent 9310ba0 commit 90ccc30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/modules/User/Controller/User.php
Expand Up @@ -227,7 +227,7 @@ public function edit($id, $req)
$this->container->callHook('user.edit.form.data', [ &$values, $id ]);

if (isset($_SESSION[ 'inputs' ])) {
$values = $_SESSION[ 'inputs' ];
$values = array_replace($values, $_SESSION[ 'inputs' ]);
unset($_SESSION[ 'inputs' ]);
}

Expand Down

0 comments on commit 90ccc30

Please sign in to comment.