Merge pull request #26147 from BB2A-Anthony/FIX---result-send-file-mail
FIX - compare the result of the send mail file function
This commit is contained in:
commit
fdec5f89b3
1 changed files with 1 additions and 1 deletions
|
|
@ -370,7 +370,7 @@ if (($action == 'send' || $action == 'relance') && !GETPOST('addfile') && !GETPO
|
|||
$action = 'presend';
|
||||
} else {
|
||||
$result = $mailfile->sendfile();
|
||||
if ($result) {
|
||||
if ($result >= 0) {
|
||||
// Initialisation of datas of object to call trigger
|
||||
if (is_object($object)) {
|
||||
if (empty($actiontypecode)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue