summaryrefslogtreecommitdiff
path: root/app/Model/TaskFinderModel.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2017-06-18 21:57:20 -0400
committerFrederic Guillot <fred@kanboard.net>2017-06-18 21:57:20 -0400
commit94a86237fc3d8f554170113ab2b5bdcd12586740 (patch)
tree58472540dd7f6ba9bf5d4b6b09210383572949e5 /app/Model/TaskFinderModel.php
parentba068aa1c4922879b230e8dad7c63da6b991e32f (diff)
Add command line argument to filter overdue notification for a given project
Diffstat (limited to 'app/Model/TaskFinderModel.php')
-rw-r--r--app/Model/TaskFinderModel.php2
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());
}
/**