Fix warning

This commit is contained in:
Laurent Destailleur
2025-01-23 02:42:06 +01:00
parent 497316481a
commit 0251c01296
3 changed files with 20 additions and 20 deletions

View File

@@ -1812,7 +1812,7 @@ class Commande extends CommonOrder
$localtax2_tx = get_localtax($tva_tx, 2, $this->thirdparty, $mysoc, $tva_npr);
// multiprix
if ($conf->global->PRODUIT_MULTIPRICES && $this->thirdparty->price_level) {
if (getDolGlobalString('PRODUIT_MULTIPRICES') && $this->thirdparty->price_level) {
$price = $prod->multiprices[$this->thirdparty->price_level];
} else {
$price = $prod->price;