mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-08 00:52:01 +01:00
Fix warning with rector
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user