From 5ebbe028531240c2deb0ed4073e157237003491f Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 7 Jul 2016 16:26:00 +0200 Subject: [PATCH] Fix missing trackid into parameters of hooks --- htdocs/core/class/html.formmail.class.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/htdocs/core/class/html.formmail.class.php b/htdocs/core/class/html.formmail.class.php index 4d2062f03c7..a159b7e6b18 100644 --- a/htdocs/core/class/html.formmail.class.php +++ b/htdocs/core/class/html.formmail.class.php @@ -250,8 +250,9 @@ class FormMail extends Form $hookmanager->initHooks(array('formmail')); $parameters=array( - 'addfileaction' => $addfileaction, - 'removefileaction'=> $removefileaction + 'addfileaction' => $addfileaction, + 'removefileaction'=> $removefileaction, + 'trackid'=> $this->trackid ); $reshook=$hookmanager->executeHooks('getFormMail', $parameters, $this);