Merge pull request #8458 from frederic34/patch-9

FIX Error message not reported when sending emails
This commit is contained in:
Laurent Destailleur 2018-03-27 18:01:24 +02:00 committed by GitHub
commit db70492983
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -385,7 +385,7 @@ if (($action == 'send' || $action == 'relance') && ! $_POST['addfile'] && ! $_PO
if ($mailfile->error)
{
setEventMessage($mailfile->error, 'errors');
setEventMessages($mailfile->error, $mailfile->errors, 'errors');
$action='presend';
}
else