Hide buttons when action is presend email

This commit is contained in:
François J 2018-11-06 16:51:48 +01:00
parent 29c71b31fe
commit 2dd69c3735

View File

@ -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))
{