Fix attached files from user mail form don't work

This commit is contained in:
atm-ph 2018-12-17 15:48:27 +01:00
parent 6275355cd5
commit 1aadcc50f1

View File

@ -602,7 +602,7 @@ if (empty($reshook)) {
$trigger_name='USER_SENTBYMAIL';
$paramname='id'; // Name of param key to open the card
$mode='emailfromuser';
$trackid='use'.$object->id;
$trackid='use'.$id;
include DOL_DOCUMENT_ROOT.'/core/actions_sendmails.inc.php';
// Actions to build doc