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);