From fef3bed4bac8678eb3f286350fa4e2ee42ba0a27 Mon Sep 17 00:00:00 2001
From: Laurent Destailleur <eldy@destailleur.fr>
Date: Thu, 14 Jan 2016 13:32:31 +0100
Subject: [PATCH] Fix bad name of var

---
 htdocs/core/class/conf.class.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/htdocs/core/class/conf.class.php b/htdocs/core/class/conf.class.php
index 17d10be4ab1..2e4d0a2cfd9 100644
--- a/htdocs/core/class/conf.class.php
+++ b/htdocs/core/class/conf.class.php
@@ -344,7 +344,7 @@ class Conf
 			$this->fournisseur->facture->dir_temp   =$rootfordata."/fournisseur/facture/temp";
 			
 			// To prepare split of module fournisseur into fournisseur + supplier_order + supplier_invoice
-			if (empty($this->global->MAIN_USE_OLD_SUPPLIERMOD))  // By default, test is true
+			if (empty($this->global->MAIN_USE_NEW_SUPPLIERMOD))  // By default, test is true
 			{
     			$this->supplier_order=new stdClass();
     			$this->supplier_order->enabled=1;
-- 
GitLab