FIX #12932
This commit is contained in:
parent
54ef0e2074
commit
7c35e9aaa8
@ -485,7 +485,7 @@ class CMailFile
|
||||
|
||||
$res=false;
|
||||
|
||||
if (empty($conf->global->MAIN_DISABLE_ALL_MAILS) || !empty($conf->global->MAIN_MAIL_FORCE_SENDTO))
|
||||
if (empty($conf->global->MAIN_DISABLE_ALL_MAILS))
|
||||
{
|
||||
require_once DOL_DOCUMENT_ROOT . '/core/class/hookmanager.class.php';
|
||||
$hookmanager = new HookManager($db);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user