fix warning (#28112)
This commit is contained in:
parent
62177404a5
commit
f9212cd5db
1 changed files with 2 additions and 1 deletions
|
|
@ -391,7 +391,8 @@ foreach ($dirsociete as $dirroot) {
|
|||
dol_syslog($e->getMessage(), LOG_ERR);
|
||||
}
|
||||
|
||||
$modCodeTiers = new $file();
|
||||
/** @var ModeleThirdPartyCode $modCodeTiers */
|
||||
$modCodeTiers = new $file($db);
|
||||
|
||||
// Show modules according to features level
|
||||
if ($modCodeTiers->version == 'development' && getDolGlobalInt('MAIN_FEATURES_LEVEL') < 2) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue