From 12fdbcce59ad2a3028046af727c2b1c3aea8097c Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 2 Aug 2018 17:49:05 +0200 Subject: [PATCH] Fix trigger name --- htdocs/asset/card.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/asset/card.php b/htdocs/asset/card.php index 1cb580c8c8d..0187dc93939 100644 --- a/htdocs/asset/card.php +++ b/htdocs/asset/card.php @@ -95,8 +95,8 @@ if (empty($reshook)) include DOL_DOCUMENT_ROOT.'/core/actions_printing.inc.php'; // Actions to send emails - $trigger_name='MYOBJECT_SENTBYMAIL'; - $autocopy='MAIN_MAIL_AUTOCOPY_MYOBJECT_TO'; + $trigger_name='ASSET_SENTBYMAIL'; + $autocopy='MAIN_MAIL_AUTOCOPY_ASSET_TO'; $trackid='asset'.$object->id; include DOL_DOCUMENT_ROOT.'/core/actions_sendmails.inc.php'; }