* fix bug for record estimate.

This commit is contained in:
wangyidong
2022-08-31 16:49:21 +08:00
parent 39ce15c672
commit 0095192c32
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1773,7 +1773,7 @@ class taskModel extends model
$task = $this->dao->select('*')->from(TABLE_TASK)->where('id')->eq($taskID)->fetch();;
$task->team = $this->dao->select('*')->from(TABLE_TASKTEAM)->where('task')->eq($taskID)->orderBy('order')->fetchAll('id');
$earliestTime = '';
foreach(array_keys($record->id) as $id)
foreach(array_keys($record->dates) as $id)
{
if($earliestTime == '')
{