diff options
author | Frederic Guillot <fred@kanboard.net> | 2017-06-18 21:57:20 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2017-06-18 21:57:20 -0400 |
commit | 94a86237fc3d8f554170113ab2b5bdcd12586740 (patch) | |
tree | 58472540dd7f6ba9bf5d4b6b09210383572949e5 /app/Model | |
parent | ba068aa1c4922879b230e8dad7c63da6b991e32f (diff) |
Add command line argument to filter overdue notification for a given project
Diffstat (limited to 'app/Model')
-rw-r--r-- | app/Model/TaskFinderModel.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Model/TaskFinderModel.php b/app/Model/TaskFinderModel.php index 09193a41..e3b5e0b9 100644 --- a/app/Model/TaskFinderModel.php +++ b/app/Model/TaskFinderModel.php @@ -197,7 +197,7 @@ class TaskFinderModel extends Base ->eq(ProjectModel::TABLE.'.is_active', 1) ->eq(TaskModel::TABLE.'.is_active', 1) ->neq(TaskModel::TABLE.'.date_due', 0) - ->lte(TaskModel::TABLE.'.date_due', mktime(23, 59, 59)); + ->lte(TaskModel::TABLE.'.date_due', time()); } /** |