closedir only if $handle is ressource
This commit is contained in:
parent
b71f79ea4f
commit
55e340c60b
@ -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