diff --git a/htdocs/projet/tasks.php b/htdocs/projet/tasks.php index 632aa18b6a4..c7be444a425 100644 --- a/htdocs/projet/tasks.php +++ b/htdocs/projet/tasks.php @@ -1085,6 +1085,11 @@ if ($action == 'create' && $user->hasRight('projet', 'creer') && (empty($object- include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_list_search_input.tpl.php'; + // Fields from hook + $parameters = array('arrayfields' => $arrayfields); + $reshook = $hookmanager->executeHooks('printFieldListOption', $parameters, $object, $action); // Note that $action and $object may have been modified by hook + print $hookmanager->resPrint; + print '