Skip to content
Snippets Groups Projects
Commit 85898ec9 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix bad test

parent e01d9646
No related branches found
No related tags found
No related merge requests found
...@@ -344,7 +344,7 @@ class Conf ...@@ -344,7 +344,7 @@ class Conf
$this->fournisseur->facture->dir_temp =$rootfordata."/fournisseur/facture/temp"; $this->fournisseur->facture->dir_temp =$rootfordata."/fournisseur/facture/temp";
// To prepare split of module fournisseur into fournisseur + supplier_order + supplier_invoice // To prepare split of module fournisseur into fournisseur + supplier_order + supplier_invoice
if (empty($this->global->MAIN_USE_NEW_SUPPLIERMOD)) // By default, test is true if (! empty($this->fournisseur->enabled) && empty($this->global->MAIN_USE_NEW_SUPPLIERMOD)) // By default, if module supplier is on, we set new properties
{ {
$this->supplier_order=new stdClass(); $this->supplier_order=new stdClass();
$this->supplier_order->enabled=1; $this->supplier_order->enabled=1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment