fix: MAIN_AGENDA_EXPORT_PAST_DELAY is defaulted to 0 to 'not isset' is always false

This commit is contained in:
Florian HENRY 2023-12-13 09:37:45 +01:00
parent bde53b1706
commit bc048cac66

View file

@ -89,7 +89,7 @@ if (empty($conf->agenda->enabled)) {
}
// Not older than
if (!isset($conf->global->MAIN_AGENDA_EXPORT_PAST_DELAY)) {
if (empty($conf->global->MAIN_AGENDA_EXPORT_PAST_DELAY)) {
$conf->global->MAIN_AGENDA_EXPORT_PAST_DELAY = 100; // default limit
}