Fix: avoid a non numeric value !!
This commit is contained in:
parent
da138db528
commit
2824afa75c
@ -89,6 +89,7 @@ function calcul_price_total($qty, $pu, $remise_percent_ligne, $txtva, $uselocalt
|
||||
$result=array();
|
||||
|
||||
// Clean parameters
|
||||
if (empty($pu)) $pu=0;
|
||||
if (empty($info_bits)) $info_bits=0;
|
||||
if (empty($txtva)) $txtva=0;
|
||||
if (empty($seller) || ! is_object($seller))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user