fix: missing hook printFieldListOption (#32006)

This commit is contained in:
Nicolas Domenech 2024-11-20 21:25:47 +01:00 committed by GitHub
parent df6ed90eed
commit de8d705eeb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 '<td class="liste_titre maxwidthsearch">&nbsp;</td>';
// Action column