diff --git a/htdocs/core/actions_sendmails.inc.php b/htdocs/core/actions_sendmails.inc.php index 665751ff28f..5dcdffd95eb 100644 --- a/htdocs/core/actions_sendmails.inc.php +++ b/htdocs/core/actions_sendmails.inc.php @@ -189,6 +189,7 @@ if (($action == 'send' || $action == 'relance') && !GETPOST('addfile') && !GETPO } } else { $thirdparty = $mysoc; + $result = 1; // No object to fetch (e.g. Setup -> Emails -> send test email): consider OK } if ($result > 0) {