Update card.php

This commit is contained in:
Laurent Destailleur 2020-11-02 20:15:03 +01:00 committed by GitHub
parent 3afb577888
commit f5bdc1db6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();