FIX-Develop correct getwarningdelay (#34497)

* replace $conf->module->XXX->gwarning_delay by new function getwarningdelay

* replace $conf->module->XXX->gwarning_delay by new function getwarningdelay

* replace $conf->module->XXX->gwarning_delay by new function getwarningdelay

* FIX- Correct function GetwarningDelay

---------

Co-authored-by: Theobald <f.moreau@theobald-groupe.com>
This commit is contained in:
moreauftheobald
2025-07-20 19:54:06 +02:00
committed by GitHub
parent 348b562e95
commit 6c86ad3eae
11 changed files with 15 additions and 15 deletions

View File

@@ -430,7 +430,7 @@ function getWarningDelay($module, $parmlevel1, $parmlevel2 = '')
}
} else {
if (!empty($conf->$module->$warningDelayPath->warning_delay)) {
return (int) $conf->$module->$warningDelayPath->$parmlevel1->warning_delay;
return (int) $conf->$module->$warningDelayPath->warning_delay;
}
}