mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-06 09:02:59 +01:00
Fix bad var
This commit is contained in:
@@ -530,7 +530,7 @@ class DolibarrModules // Can not be abstract, because we need to instantiate it
|
||||
$moduleNameInConf = 'supplier_proposal';
|
||||
}
|
||||
|
||||
$this->modules[$moduleNameInConf] = $moduleNameInConf; // Add this module in list of enabled modules so isModEnabled() will work (conf->module->enabled must no more be used)
|
||||
$conf->modules[$moduleNameInConf] = $moduleNameInConf; // Add this module in list of enabled modules so isModEnabled() will work (conf->module->enabled must no more be used)
|
||||
|
||||
return 1;
|
||||
} else {
|
||||
@@ -627,7 +627,7 @@ class DolibarrModules // Can not be abstract, because we need to instantiate it
|
||||
$moduleNameInConf = 'supplier_proposal';
|
||||
}
|
||||
|
||||
unset($this->modules[$moduleNameInConf]); // Add this module in list of enabled modules so isModEnabled() will work (conf->module->enabled must no more be used)
|
||||
unset($conf->modules[$moduleNameInConf]); // Add this module in list of enabled modules so isModEnabled() will work (conf->module->enabled must no more be used)
|
||||
|
||||
return 1;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user