浏览代码

Fix trigger name

Laurent Destailleur 6 年之前
父节点
当前提交
12fdbcce59
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      htdocs/asset/card.php

+ 2 - 2
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';
 }