sécurisation montant

FossilOrigin-Name: c9f2bdd4ffa1fd02df85023f7db185a1cf51308869f518ec2ef1179e8d31c001
This commit is contained in:
engel 2022-03-17 15:05:45 +00:00
parent fad8553345
commit 9ced82c8ba

View File

@ -142,7 +142,7 @@ FDD;
function imprimer_montant($montant, $libelle = "") function imprimer_montant($montant, $libelle = "")
{ {
$valeur = number_format($montant, 2, ',', ''); $valeur = number_format($montant, 2, ',', '');
echo "<li>la somme de <b>{$valeur} euros</b>"; echo "<li>la somme de <b>***{$valeur}*** euros</b>";
if ($libelle != "") { if ($libelle != "") {
echo " ({$libelle})"; echo " ({$libelle})";
} }