Merge pull request #11965 from frederic34/patch-13

closedir only if $handle is ressource
This commit is contained in:
Laurent Destailleur 2019-09-27 11:13:12 +02:00 committed by GitHub
commit 017a3e10cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -477,8 +477,8 @@ foreach ($dirsociete as $dirroot)
$arrayofmodules[$file] = $modCodeCompta;
}
}
closedir($handle);
}
closedir($handle);
}
$arrayofmodules = dol_sort_array($arrayofmodules, 'position');