Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
This commit is contained in:
commit
4a8dae277d
1 changed files with 3 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue