2
0
forked from Wavyzz/dolibarr

Work on PHP 8 compatibility

This commit is contained in:
Laurent Destailleur
2023-04-15 01:52:35 +02:00
parent f5ce54728d
commit 6b7de51d21
3 changed files with 7 additions and 2 deletions

View File

@@ -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);
}
/**