Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop

This commit is contained in:
Laurent Destailleur 2023-11-28 22:34:31 +01:00
commit 4a8dae277d

View file

@ -167,7 +167,7 @@ class Interfaces
}
}
asort($orders);
asort($orders, SORT_NATURAL);
// Loop on each trigger
foreach ($orders as $key => $value) {
@ -305,7 +305,7 @@ class Interfaces
}
}
asort($orders);
asort($orders, SORT_NATURAL);
$triggers = array();
$j = 0;
@ -342,7 +342,7 @@ class Interfaces
$module = preg_replace('/^mod/i', '', $reg[2]);
if (strtolower($module) == 'all') {
$disabledbymodule = 0;
} elseif (!isModEnabled(strtoupper($module))) {
} elseif (!isModEnabled(strtolower($module))) {
$disabledbymodule = 2;
}
$triggers[$j]['module'] = strtolower($module);