diff --git a/htdocs/contact/fiche.php b/htdocs/contact/fiche.php index 7a88eb7d8cd..7cf032c68b9 100644 --- a/htdocs/contact/fiche.php +++ b/htdocs/contact/fiche.php @@ -907,6 +907,7 @@ else // Other attributes $parameters=array('socid'=>$socid, 'colspan' => ' colspan="3"'); $reshook=$hookmanager->executeHooks('formObjectOptions',$parameters,$object,$action); // Note that $action and $object may have been modified by hook + print $hookmanager->resPrint; if (empty($reshook) && ! empty($extrafields->attribute_label)) { print $object->showOptionals($extrafields); diff --git a/htdocs/societe/soc.php b/htdocs/societe/soc.php index 4da853a764a..6ad999ebe10 100644 --- a/htdocs/societe/soc.php +++ b/htdocs/societe/soc.php @@ -1701,6 +1701,7 @@ else // Other attributes $parameters=array('socid'=>$socid, 'colspan' => ' colspan="3"', 'colspanvalue' => '3'); $reshook=$hookmanager->executeHooks('formObjectOptions',$parameters,$object,$action); // Note that $action and $object may have been modified by hook + print $hookmanager->resPrint; if (empty($reshook) && ! empty($extrafields->attribute_label)) { print $object->showOptionals($extrafields);