From 0dba59e4db7d28516eb4e78f96de8c506b646f80 Mon Sep 17 00:00:00 2001 From: wangyidong Date: Sun, 3 Jul 2011 06:51:08 +0000 Subject: [PATCH] * fix project total time. --- module/project/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/project/model.php b/module/project/model.php index 6584ead90b..5ff1e5ab8d 100644 --- a/module/project/model.php +++ b/module/project/model.php @@ -304,7 +304,7 @@ class projectModel extends model SUM(`left`) AS totalLeft') ->from(TABLE_TASK) ->where('project')->eq((int)$projectID) - ->andWhere('status')->notin('cancel,closed') + ->andWhere('status')->ne('cancel') ->andWhere('deleted')->eq(0) ->fetch(); $project->totalEstimate = round($total->totalEstimate, 1);