closedir only if $handle is ressource
This commit is contained in:
parent
b71f79ea4f
commit
55e340c60b
@ -477,8 +477,8 @@ foreach ($dirsociete as $dirroot)
|
||||
$arrayofmodules[$file] = $modCodeCompta;
|
||||
}
|
||||
}
|
||||
closedir($handle);
|
||||
}
|
||||
closedir($handle);
|
||||
}
|
||||
|
||||
$arrayofmodules = dol_sort_array($arrayofmodules, 'position');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user