From a0c141294f558b963c5ebc2f83ea361bfed6a964 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 1 May 2011 19:15:57 +0000 Subject: [PATCH] Fix: Removed warning --- htdocs/societe/class/societe.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }