diff --git a/htdocs/societe/class/societe.class.php b/htdocs/societe/class/societe.class.php index 5e532c87dd7..f312bafe9d9 100644 --- a/htdocs/societe/class/societe.class.php +++ b/htdocs/societe/class/societe.class.php @@ -725,7 +725,7 @@ class Societe extends CommonObject } // Use first price level if level not defined for third party - if ($conf->global->PRODUIT_MULTIPRICES && empty($this->price_level)) $this->price_level=1; + if (! empty($conf->global->PRODUIT_MULTIPRICES) && empty($this->price_level)) $this->price_level=1; return $result; }