2
0
forked from Wavyzz/dolibarr

Try fix phan

This commit is contained in:
Laurent Destailleur
2024-03-11 15:20:56 +01:00
parent 66c40264d1
commit 39ea68ace4
3 changed files with 3 additions and 3 deletions

View File

@@ -460,7 +460,7 @@ foreach ($modulesdir as $dir) {
$arrayofwarningsext[$modName] = $objMod->warnings_activation_ext;
}
$familyposition = (empty($familyinfo[$familykey]['position']) ? 0 : $familyinfo[$familykey]['position']);
$familyposition = (empty($familyinfo[$familykey]['position']) ? '0' : $familyinfo[$familykey]['position']);
$listOfOfficialModuleGroups = array('hr', 'technic', 'interface', 'technic', 'portal', 'financial', 'crm', 'base', 'products', 'srm', 'ecm', 'projects', 'other');
if ($external && !in_array($familykey, $listOfOfficialModuleGroups)) {
// If module is extern and into a custom group (not into an official predefined one), it must appear at end (custom groups should not be before official groups).