From 06c0a50ff58d180f6c38a19545fc5d0fab3f87e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charl=C3=A8ne=20Benke?= <1179011+defrance@users.noreply.github.com> Date: Thu, 8 Dec 2022 16:33:04 +0100 Subject: [PATCH] forgotten hook on list --- htdocs/projet/list.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/htdocs/projet/list.php b/htdocs/projet/list.php index b31666245d4..9f9fd3f75cb 100644 --- a/htdocs/projet/list.php +++ b/htdocs/projet/list.php @@ -451,6 +451,10 @@ if ($search_project_user > 0) { if ($search_project_contact > 0) { $sql .= ", ".MAIN_DB_PREFIX."element_contact as ecp_contact"; } + +$reshook = $hookmanager->executeHooks('printFieldListFrom', $parameters, $object); // Note that $action and $object may have been modified by hook +$sql .= $hookmanager->resPrint; + $sql .= " WHERE p.entity IN (".getEntity('project').')'; if (empty($user->rights->projet->all->lire)) { $sql .= " AND p.rowid IN (".$db->sanitize($projectsListId).")"; // public and assigned to, or restricted to company for external users