Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into develop

This commit is contained in:
Laurent Destailleur 2012-07-27 16:04:28 +02:00
commit 56ced6e5f0
2 changed files with 24 additions and 24 deletions

View File

@ -78,7 +78,7 @@ if ($action == 'add_paiement')
if (substr($key,0,7) == 'amount_') if (substr($key,0,7) == 'amount_')
{ {
$other_facid = substr($key,7); $other_facid = substr($key,7);
$amounts[$other_facid] = $_POST[$key]; $amounts[$other_facid] = price2num(GETPOST($key));
$total = $total + $amounts[$other_facid]; $total = $total + $amounts[$other_facid];
} }
} }