From fbbb1b0d45ffefdba4be6f8aacf25e07189fc00c Mon Sep 17 00:00:00 2001 From: wangyidong Date: Fri, 24 Aug 2018 11:33:46 +0800 Subject: [PATCH] * fix bug for ajdust task time. --- module/project/model.php | 1 + 1 file changed, 1 insertion(+) diff --git a/module/project/model.php b/module/project/model.php index 479e90bdae..bf6c9d5d49 100644 --- a/module/project/model.php +++ b/module/project/model.php @@ -617,6 +617,7 @@ class projectModel extends model $tasks = $this->dao->select('id,estStarted,deadline,status')->from(TABLE_TASK) ->where('deadline')->ne('0000-00-00') ->andWhere('status')->in('wait,doing') + ->andWhere('project')->eq($project->id) ->fetchAll(); foreach($tasks as $task) {