mirror of
https://github.com/grocy/grocy.git
synced 2025-08-18 03:25:50 +00:00
Make it possible to disable chores/tasks/batteries due soon filters/highlighting (closes #1485)
This commit is contained in:
@@ -28,7 +28,7 @@ class TasksController extends BaseController
|
||||
{
|
||||
$task->due_type = 'duetoday';
|
||||
}
|
||||
elseif ($task->due_date <= date('Y-m-d 23:59:59', strtotime('+' . $nextXDays . ' days')))
|
||||
elseif ($nextXDays > 0 && $task->due_date <= date('Y-m-d 23:59:59', strtotime('+' . $nextXDays . ' days')))
|
||||
{
|
||||
$task->due_type = 'duesoon';
|
||||
}
|
||||
|
Reference in New Issue
Block a user