diff --git a/htdocs/core/lib/files.lib.php b/htdocs/core/lib/files.lib.php index 42e9e8578fbe8..e13e5f1b93af9 100644 --- a/htdocs/core/lib/files.lib.php +++ b/htdocs/core/lib/files.lib.php @@ -83,7 +83,7 @@ function dol_dir_list($path, $types="all", $recursive=0, $filter="", $excludefil 'loaddate' => $loaddate, 'loadsize' => $loadsize ); - $reshook=$hookmanager->executeHooks('getDirList', $parameters); + $reshook=$hookmanager->executeHooks('getNodesList', $parameters); // $reshook may contain returns stacked by other modules // $reshook is always empty with an array for can not lose returns stacked with other modules