Fix bad constant MAIN_MAIL_AUTOCOPY into email form of project page.

This commit is contained in:
Laurent Destailleur 2019-04-29 18:26:27 +02:00
parent 5253c759af
commit 899f41d68c

View File

@ -450,7 +450,7 @@ if (empty($reshook))
// Actions to send emails
$trigger_name='PROJECT_SENTBYMAIL';
$paramname='id';
$autocopy='MAIN_MAIL_AUTOCOPY_ORDER_TO'; // used to know the automatic BCC to add
$autocopy='MAIN_MAIL_AUTOCOPY_PROJECT_TO'; // used to know the automatic BCC to add
$trackid='proj'.$object->id;
include DOL_DOCUMENT_ROOT.'/core/actions_sendmails.inc.php';
}