Fix: avoid Warning: A non-numeric value encountered
This commit is contained in:
parent
60a848de5a
commit
40fe3849dc
@ -1649,7 +1649,7 @@ class Product extends CommonObject
|
|||||||
* @param string $newdefaultvatcode Default vat code
|
* @param string $newdefaultvatcode Default vat code
|
||||||
* @return int <0 if KO, >0 if OK
|
* @return int <0 if KO, >0 if OK
|
||||||
*/
|
*/
|
||||||
function updatePrice($newprice, $newpricebase, $user, $newvat='',$newminprice='', $level=0, $newnpr=0, $newpbq=0, $ignore_autogen=0, $localtaxes_array=array(), $newdefaultvatcode='')
|
function updatePrice($newprice, $newpricebase, $user, $newvat='',$newminprice=0, $level=0, $newnpr=0, $newpbq=0, $ignore_autogen=0, $localtaxes_array=array(), $newdefaultvatcode='')
|
||||||
{
|
{
|
||||||
global $conf,$langs;
|
global $conf,$langs;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user