* fix bug for export testcase.

This commit is contained in:
王怡栋
2021-10-29 11:11:09 +08:00
parent 2c3d42360c
commit a89fb80abc
+1 -1
View File
@@ -1368,7 +1368,7 @@ class testcase extends control
$result = isset($results[$case->id]) ? $results[$case->id] : array();
$case->real = '';
if(!empty($result))
if(!empty($result) and !isset($relatedSteps[$case->id]))
{
$firstStep = reset($result);
$case->real = $firstStep['real'];