From 98ef17930707be7a5f653eb7713494e15c4aeb28 Mon Sep 17 00:00:00 2001 From: BENKE Charlie Date: Wed, 30 Mar 2016 21:09:27 +0200 Subject: [PATCH] Add contact hook I use the same hook name as contactpl --- htdocs/projet/tasks/contact.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/htdocs/projet/tasks/contact.php b/htdocs/projet/tasks/contact.php index 0faf21c1cc2..f3f58c17119 100644 --- a/htdocs/projet/tasks/contact.php +++ b/htdocs/projet/tasks/contact.php @@ -492,6 +492,13 @@ if ($id > 0 || ! empty($ref)) } } +if (is_object($hookmanager)) +{ + $hookmanager->initHooks(array('contacttpl')); + $parameters=array(); + $reshook=$hookmanager->executeHooks('formContactTpl',$parameters,$object,$action); +} + llxFooter();