Revert "Fix: avoid a non numeric value !!"
This reverts commit 2824afa75c.
This commit is contained in:
parent
2824afa75c
commit
964f11491f
@ -89,7 +89,6 @@ 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