diff --git a/Blacklight/libraries/Forking.php b/Blacklight/libraries/Forking.php index 150f78634..696983cd6 100755 --- a/Blacklight/libraries/Forking.php +++ b/Blacklight/libraries/Forking.php @@ -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'))); } diff --git a/Changelog b/Changelog index 770e788ca..4b5713e8b 100755 --- a/Changelog +++ b/Changelog @@ -1,4 +1,5 @@ 2019-06-05 DariusIII + * Fix: Fix safe backfill $backfilldays variable. Closes #978 * Chg: Update laravel/framework, nesbot/carbon and laravel/horizon to latest versions 2019-06-04 DariusIII * Chg: Update commit script to include composer fix-style command