fix: MAIN_AGENDA_EXPORT_PAST_DELAY is defaulted to 0 to 'not isset' is always false
This commit is contained in:
parent
bde53b1706
commit
bc048cac66
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue