Merge pull request #14755 from atm-lena/10.0_FIX_SendMailFromAContact

FIX - Send mail from contact : select mail model
This commit is contained in:
Laurent Destailleur 2020-09-17 11:15:58 +02:00 committed by GitHub
commit 5d8b9056b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);