* Fix the error when the execution node executes ta case.

This commit is contained in:
liyang
2024-05-22 13:48:07 +08:00
committed by caoyanyi
parent 954317b637
commit ecb4f4af59
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -1431,7 +1431,7 @@ class testtaskModel extends model
foreach($results as $resultID => $result)
{
$result->stepResults = unserialize($result->stepResults);
$result->stepResults = $result->stepResults ? unserialize($result->stepResults) : array();
$result->build = !empty($runs[$result->run]->build) ? $runs[$result->run]->build : 0;
$result->task = !empty($runs[$result->run]->task) ? $runs[$result->run]->task : 0;
$result->nodeName = zget($nodes, $result->node, '');