Merge pull request #14755 from atm-lena/10.0_FIX_SendMailFromAContact
FIX - Send mail from contact : select mail model
This commit is contained in:
commit
5d8b9056b4
@ -1176,6 +1176,11 @@ else
|
||||
}
|
||||
}
|
||||
|
||||
// Select mail models is same action as presend
|
||||
if (GETPOST('modelselected', 'alpha')) {
|
||||
$action = 'presend';
|
||||
}
|
||||
|
||||
if (! empty($id) && $action != 'edit' && $action != 'create')
|
||||
{
|
||||
$objsoc = new Societe($db);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user