This commit is contained in:
Laurent Destailleur 2020-02-03 03:55:37 +01:00
parent 54ef0e2074
commit 7c35e9aaa8

View File

@ -485,7 +485,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);