mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-03 15:42:29 +01:00
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
This commit is contained in:
@@ -169,7 +169,7 @@ class modMyModule extends DolibarrModules
|
||||
'fr_FR:ParentCompany'=>'Maison mère ou revendeur'
|
||||
)*/
|
||||
|
||||
if (!isset($conf->mymodule) || !isset($conf->mymodule->enabled)) {
|
||||
if (!isModEnabled("mymodule")) {
|
||||
$conf->mymodule = new stdClass();
|
||||
$conf->mymodule->enabled = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user