From fdfe4d9ac5ab66f1517a60d0fd1790cf2165cf3a Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 15 Jul 2016 14:21:07 +0200 Subject: [PATCH 1/2] Fix missing getFormMail as "addreplace" hook --- htdocs/core/class/hookmanager.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/core/class/hookmanager.class.php b/htdocs/core/class/hookmanager.class.php index 1a7425b0a55..a71ed57ab2c 100644 --- a/htdocs/core/class/hookmanager.class.php +++ b/htdocs/core/class/hookmanager.class.php @@ -142,7 +142,8 @@ class HookManager 'formObjectOptions', 'formattachOptions', 'formBuilddocLineOptions', - 'getIdProfUrl', + 'getFormMail', + 'getIdProfUrl', 'moveUploadedFile', 'pdf_build_address', 'pdf_writelinedesc', From 0f4f4ea61c5abb071347c367edae865918fd1b6e Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 15 Jul 2016 14:22:49 +0200 Subject: [PATCH 2/2] FIX #5482 #5485 --- htdocs/contact/card.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/contact/card.php b/htdocs/contact/card.php index a2232358a99..77a951eef06 100644 --- a/htdocs/contact/card.php +++ b/htdocs/contact/card.php @@ -904,7 +904,7 @@ else // Statut print ''.$langs->trans("Status").''; - print ''; + print ''; print $object->getLibStatut(4); print '';