Commit c89e8ff7 by Damien Moulard

fix redirect error if insufisient funds

parent fec7bc5e
...@@ -324,7 +324,7 @@ class UserController extends AbstractController ...@@ -324,7 +324,7 @@ class UserController extends AbstractController
$this->translator->trans('Solde de l\'habitant·e insuffisant') $this->translator->trans('Solde de l\'habitant·e insuffisant')
); );
return $this->redirectToRoute('index'); goto end;
} }
// Save transaction // Save transaction
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment