From 69d6b6f348bb3e042f7e94c10f11bece872035b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Salvador?= Date: Thu, 1 Aug 2013 16:02:25 +0200 Subject: [PATCH] print hooks results in thirdparty/contact cards --- htdocs/contact/fiche.php | 1 + htdocs/societe/soc.php | 1 + 2 files changed, 2 insertions(+) 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);