From 2dd69c3735914728df557342853bccd784196639 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20J?= Date: Tue, 6 Nov 2018 16:51:48 +0100 Subject: [PATCH] Hide buttons when action is presend email --- 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 282f0cd893b..a99df4df5e1 100644 --- a/htdocs/contact/card.php +++ b/htdocs/contact/card.php @@ -1257,7 +1257,7 @@ else $parameters=array(); $reshook=$hookmanager->executeHooks('addMoreActionsButtons',$parameters,$object,$action); // Note that $action and $object may have been modified by hook - if (empty($reshook)) + if (empty($reshook) && $action!='presend') { if (! empty($object->email)) {