Merge pull request #18281 from cfoellmann/extend-getElementList-hook

extend the hook `getElementList` to make $ids in the hooked function
This commit is contained in:
Laurent Destailleur 2021-07-30 15:20:25 +02:00 committed by GitHub
commit 0f191e57f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -744,7 +744,8 @@ class Project extends CommonObject
'datefieldname' => $datefieldname,
'dates' => $dates,
'datee' => $datee,
'fk_projet' => $projectkey
'fk_projet' => $projectkey,
'ids' => $ids,
);
$reshook = $hookmanager->executeHooks('getElementList', $parameters, $object, $action);
if ($reshook > 0) {