Merge pull request #7926 from atm-florian/6.0

fix MAIN_COPY_FILE_IN_EVENT_AUTO
This commit is contained in:
Laurent Destailleur 2017-12-08 16:55:12 +01:00 committed by GitHub
commit 5128ad6e24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -413,6 +413,7 @@ if (($action == 'send' || $action == 'relance') && ! $_POST['addfile'] && ! $_PO
$object->trackid = $trackid;
$object->fk_element = $object->id;
$object->elementtype = $object->element;
$object->attachedfiles = $attachedfiles;
// Call of triggers
if (! empty($trigger_name))