Fix: clean parameter

This commit is contained in:
Laurent Destailleur
2011-03-16 11:37:39 +00:00
parent 7c54bbfd2e
commit 1d12f8e188
2 changed files with 8 additions and 2 deletions

View File

@@ -809,7 +809,10 @@ class Commande extends CommonObject
if (empty($qty)) $qty=0;
if (empty($info_bits)) $info_bits=0;
if (empty($rang)) $rang=0;
if (empty($txtva)) $txtva=0;
if (empty($txlocaltax1)) $txlocaltax1=0;
if (empty($txlocaltax2)) $txlocaltax2=0;
$remise_percent=price2num($remise_percent);
$qty=price2num($qty);
$pu_ht=price2num($pu_ht);