Fix: Removed warning

This commit is contained in:
Laurent Destailleur 2011-05-01 19:15:57 +00:00
parent 45b3281ce0
commit a0c141294f

View File

@ -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;
}