Merge pull request #10246 from atm-ph/fix_7.0_user_attached_files

Fix attached files from user mail form don't work
This commit is contained in:
Laurent Destailleur 2018-12-17 21:11:43 +01:00 committed by GitHub
commit 051853fc00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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