mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 09:38:23 +01:00
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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user