Fix: avoid a non numeric value !!

This commit is contained in:
Regis Houssin 2018-06-29 11:25:30 +02:00
parent da138db528
commit 2824afa75c

View File

@ -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))