FIX : Using the default email template when sending bulk emails from a list (#38579)
This commit is contained in:
parent
1e9690b72c
commit
c852196997
1 changed files with 1 additions and 1 deletions
|
|
@ -351,7 +351,7 @@ if ($massaction == 'presend') {
|
|||
// Tableau des parameters complementaires du post
|
||||
$formmail->param['action'] = $action;
|
||||
$formmail->param['models'] = $modelmail; // the filter to know which kind of template emails to show. 'none' means no template suggested.
|
||||
$formmail->param['models_id'] = GETPOSTINT('modelmailselected') ? GETPOSTINT('modelmailselected') : '-1';
|
||||
$formmail->param['models_id'] = GETPOSTINT('modelmailselected') ? GETPOSTINT('modelmailselected') : '';
|
||||
$formmail->param['id'] = implode(',', $arrayofselected);
|
||||
// $formmail->param['returnurl']=$_SERVER["PHP_SELF"].'?id='.$object->id;
|
||||
if (getDolGlobalString('MAILING_LIMIT_SENDBYWEB') && count($listofselectedrecipientobjid) > $conf->global->MAILING_LIMIT_SENDBYWEB) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue