forked from Wavyzz/dolibarr
Work on PHP 8 compatibility
This commit is contained in:
@@ -166,7 +166,9 @@ function getDolUserInt($key, $default = 0, $tmpuser = null)
|
||||
function isModEnabled($module)
|
||||
{
|
||||
global $conf;
|
||||
return !empty($conf->$module->enabled);
|
||||
|
||||
return !empty($conf->modules[$module]);
|
||||
//return !empty($conf->$module->enabled);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user