diff --git a/htdocs/adherents/card.php b/htdocs/adherents/card.php index e4a1fc01355..c6dda99dcb2 100644 --- a/htdocs/adherents/card.php +++ b/htdocs/adherents/card.php @@ -1059,11 +1059,17 @@ else // Other attributes include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_add.tpl.php'; - - print '
'; + //Hooks here + $reshook=$hookmanager->executeHooks('formObjectOptions', $parameters, $object, $action); // Note that $action and $object may have been modified by hook + print $hookmanager->resPrint; + if (empty($reshook)) + { + print $object->showOptionals($extrafields, 'edit'); + } + + print ''; print "\n"; - - dol_fiche_end(); + dol_fiche_end(); print '