From f5bdc1db6d1dd38d8af1f0e0df0aefab3ca370d3 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 2 Nov 2020 20:15:03 +0100 Subject: [PATCH] Update card.php --- htdocs/adherents/subscription/card.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/adherents/subscription/card.php b/htdocs/adherents/subscription/card.php index aead80cd1d0..c97c502abaf 100644 --- a/htdocs/adherents/subscription/card.php +++ b/htdocs/adherents/subscription/card.php @@ -46,7 +46,7 @@ $cancel = GETPOST('cancel', 'alpha'); $confirm = GETPOST('confirm'); $note = GETPOST('note', 'alpha'); $typeid = (int) GETPOST('typeid', 'int'); -$amount = GETPOST('amount', 'alpha'); +$amount = price2num(GETPOST('amount', 'alpha'), 'MT'); if (!$user->rights->adherent->cotisation->lire) accessforbidden();