Fix bad test

This commit is contained in:
Laurent Destailleur 2022-05-06 11:48:15 +02:00
parent f3a630fd30
commit 203c4e8082

View File

@ -1611,7 +1611,7 @@ if ((empty($conf->global->PRODUIT_CUSTOMER_PRICES) || $action == 'showlog_defaul
}
// Line for default price
if ($object->price_base_type == 'HT') {
if ($objp->price_base_type == 'HT') {
$pu = $objp->price;
} else {
$pu = $objp->price_ttc;