* note for getEstimateById.

This commit is contained in:
zhujinyong
2013-07-06 08:52:01 +00:00
parent 491671603c
commit d4a1af56b4

View File

@@ -880,7 +880,7 @@ class taskModel extends model
->where('id')->eq($estimateID)
->fetch();
/* Decide if the estimate is the last one of this task. */
/* If the estimate is the last of its task, status of task will be checked. */
$lastID = $this->dao->select('id')
->from(TABLE_TASKESTIMATE)
->where('task')->eq($estimate->task)