Sécurisation données POST

This commit is contained in:
Jean-Christophe Engel 2026-10-30 10:27:20 +01:00
parent a9b061f795
commit fb4bbaf697
9 changed files with 49 additions and 6 deletions

View file

@ -61,7 +61,7 @@
{{* Traiter l'envoi du formulaire *}}
{{#form on="save"}}
{{if $_POST.montant == null}}
{{if $_POST.montant == null || $_POST.montant == 0}}
{{if $montant_affecte == 0}}
{{:assign saved_credit=null}}
{{:assign montant_credit=$credit_line.amount}}