From a569211f6a4dc90b1e8bc55e358dc2bf6375f50e Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Tue, 28 Apr 2009 09:47:52 +0000 Subject: [PATCH] New: early development of multi-company module --- htdocs/includes/modules/modProduit.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/includes/modules/modProduit.class.php b/htdocs/includes/modules/modProduit.class.php index 007f3a41ef3..9aba67aaf17 100644 --- a/htdocs/includes/modules/modProduit.class.php +++ b/htdocs/includes/modules/modProduit.class.php @@ -149,7 +149,7 @@ class modProduit extends DolibarrModules $this->export_sql_start[$r]='SELECT DISTINCT '; $this->export_sql_end[$r] =' FROM '.MAIN_DB_PREFIX.'product as p'; - $this->export_sql_end[$r] .=' AND p.entity = '.$conf->entity; + $this->export_sql_end[$r] .=' WHERE p.entity = '.$conf->entity; // Imports