FIX #12932
This commit is contained in:
parent
b3a50bd4b0
commit
1dab308e4a
@ -508,7 +508,7 @@ class CMailFile
|
|||||||
|
|
||||||
$res = false;
|
$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';
|
require_once DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php';
|
||||||
$hookmanager = new HookManager($db);
|
$hookmanager = new HookManager($db);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user