FIX #8277
This commit is contained in:
parent
f8d8c5c658
commit
b2f6105ae2
@ -319,7 +319,6 @@ if (($action == 'send' || $action == 'relance') && ! $_POST['addfile'] && ! $_PO
|
||||
$filename = $attachedfiles['names'];
|
||||
$mimetype = $attachedfiles['mimes'];
|
||||
|
||||
|
||||
// Feature to push mail sent into Sent folder
|
||||
if (! empty($conf->dolimail->enabled))
|
||||
{
|
||||
|
||||
@ -790,8 +790,10 @@ if (empty($reshook))
|
||||
$result = $object->setIncoterms(GETPOST('incoterm_id', 'int'), GETPOST('location_incoterms', 'alpha'));
|
||||
}
|
||||
|
||||
// Actions to send emails
|
||||
$id=$socid;
|
||||
$object->fetch($socid);
|
||||
|
||||
// Actions to send emails
|
||||
$trigger_name='COMPANY_SENTBYMAIL';
|
||||
$paramname='socid';
|
||||
$mode='emailfromthirdparty';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user