Update card.php

This commit is contained in:
Laurent Destailleur 2020-07-03 00:38:31 +02:00 committed by GitHub
parent 6553c40bea
commit 18fa4c4105
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1255,8 +1255,7 @@ if (empty($reshook))
if ($_POST['type'] == Facture::TYPE_DEPOSIT)
{
$typeamount = GETPOST('typedeposit', 'alpha');
$valuedeposit = GETPOST('valuedeposit');
$valuedeposit = price2num($valuedeposit, 'MU');
$valuedeposit = price2num(GETPOST('valuedeposit', 'alpha'), 'MU');
$amountdeposit = array();
if (!empty($conf->global->MAIN_DEPOSIT_MULTI_TVA))