Fix warning

This commit is contained in:
Laurent Destailleur
2024-09-06 14:01:55 +02:00
parent 4ae3aab0c3
commit 43f42d08ad
6 changed files with 6 additions and 6 deletions

View File

@@ -14133,7 +14133,7 @@ function show_actions_messaging($conf, $langs, $db, $filterobj, $objcon = null,
}
if (isModEnabled('agenda') || (isModEnabled('mailing') && !empty($objcon->email))) {
$delay_warning = $conf->global->MAIN_DELAY_ACTIONS_TODO * 24 * 60 * 60;
$delay_warning = getDolGlobalInt('MAIN_DELAY_ACTIONS_TODO') * 24 * 60 * 60;
require_once DOL_DOCUMENT_ROOT.'/comm/action/class/actioncomm.class.php';
include_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';