* [task#127531,done,1h] set execution id for test report data.

This commit is contained in:
tianshujie
2024-09-20 10:23:47 +08:00
committed by 刘刚
parent bc034e6842
commit 790fcb5fff
+1 -1
View File
@@ -156,7 +156,7 @@ class testreportZen extends testreport
$tasks = array($task->id => $task);
$owner = $task->owner;
$stories = empty($build->stories) ? array() : $this->story->getByList($build->stories);
$execution = $this->execution->getById($task->execution);
$execution = $this->execution->getById($task->execution ? $task->execution : $task->project);
$this->setChartDatas($objectID);