mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Fix safe backfill $backfilldays variable. Closes #978
This commit is contained in:
@@ -370,8 +370,7 @@ class Forking
|
||||
|
||||
$backfilldays = '';
|
||||
if ($backfill_days === 1) {
|
||||
$days = 'backfill_target';
|
||||
$backfilldays = now()->diffInDays(Carbon::createFromDate($days));
|
||||
$backfilldays = 'g.backfill_target';
|
||||
} elseif ($backfill_days === 2) {
|
||||
$backfilldays = now()->diffInDays(Carbon::createFromFormat('Y-m-d', Settings::settingValue('..safebackfilldate')));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user