diff --git a/htdocs/projet/class/project.class.php b/htdocs/projet/class/project.class.php index 6d8b54d1954..f531d221aff 100644 --- a/htdocs/projet/class/project.class.php +++ b/htdocs/projet/class/project.class.php @@ -747,7 +747,7 @@ class Project extends CommonObject 'fk_projet' => $projectkey, 'ids' => $ids, ); - $reshook = $hookmanager->executeHooks('getElementList', $parameters, $object, $action); + $reshook = $hookmanager->executeHooks('getElementList', $parameters); if ($reshook > 0) { $sql = $hookmanager->resPrint; } else {