|
@@ -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';
|
|
|
}
|