Fix warning
This commit is contained in:
parent
4c363d1d4f
commit
6eb9f13ec2
@ -1443,7 +1443,7 @@ if ((empty($conf->global->PRODUIT_CUSTOMER_PRICES) || $action=='showlog_default_
|
||||
// On l'ajoute donc pour remettre a niveau (pb vieilles versions)
|
||||
//$object->updatePrice($object->price, $object->price_base_type, $user, $newprice_min);
|
||||
if (! empty($conf->global->PRODUIT_MULTIPRICES)) {
|
||||
$object->updatePrice($object->multiprices[1], $object->multiprices_base_type[1], $user, $object->multiprices_tva_tx[1], $object->multiprices_min[1], 1);
|
||||
$object->updatePrice($object->multiprices[1], $object->multiprices_base_type[1], $user, (empty($object->multiprices_tva_tx[1])?0:$object->multiprices_tva_tx[1]), $object->multiprices_min[1], 1);
|
||||
} else {
|
||||
$object->updatePrice($object->price, $object->price_base_type, $user, $object->tva_tx, $object->price_min);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user