Merge pull request #8270 from hregis/7.0_bug4
Fix: avoid Warning: A non-numeric value encountered
This commit is contained in:
commit
65fe376bbf
@ -384,6 +384,7 @@ class SupplierProposal extends CommonObject
|
||||
if (empty($info_bits)) $info_bits=0;
|
||||
if (empty($rang)) $rang=0;
|
||||
if (empty($fk_parent_line) || $fk_parent_line < 0) $fk_parent_line=0;
|
||||
if (empty($pu_ht)) $pu_ht=0;
|
||||
|
||||
$remise_percent=price2num($remise_percent);
|
||||
$qty=price2num($qty);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user