Merge pull request #11965 from frederic34/patch-13
closedir only if $handle is ressource
This commit is contained in:
commit
017a3e10cc
@ -477,9 +477,9 @@ foreach ($dirsociete as $dirroot)
|
|||||||
$arrayofmodules[$file] = $modCodeCompta;
|
$arrayofmodules[$file] = $modCodeCompta;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
closedir($handle);
|
closedir($handle);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
$arrayofmodules = dol_sort_array($arrayofmodules, 'position');
|
$arrayofmodules = dol_sort_array($arrayofmodules, 'position');
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user