Fix warning with rector

This commit is contained in:
Laurent Destailleur
2023-12-13 15:20:53 +01:00
167 changed files with 226 additions and 226 deletions

View File

@@ -3656,7 +3656,7 @@ abstract class CommonObject
if (!empty($MODULE)) {
if (!empty($conf->global->$MODULE)) {
$modsactivated = explode(',', $conf->global->$MODULE);
$modsactivated = explode(',', getDolGlobalString($MODULE));
foreach ($modsactivated as $mod) {
if (isModEnabled($mod)) {
return 1; // update was disabled by specific setup