Merge pull request #22780 from UlusoftConsultancy/variants/formObjectOptions

Add formObjectOptions hook to variants/card.php
This commit is contained in:
Laurent Destailleur 2022-11-07 18:35:03 +01:00 committed by GitHub
commit aac7f17c18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -214,6 +214,9 @@ if ($action == 'create') {
// Common attributes
include DOL_DOCUMENT_ROOT . '/core/tpl/commonfields_edit.tpl.php';
$reshook = $hookmanager->executeHooks('formObjectOptions', $parameters, $object, $action); // Note that $action and $object may have been modified by hook
print $hookmanager->resPrint;
print '</table>';
print dol_get_fiche_end();