* [bug #52935, done, 0.5h] fix case dtable not render when there is some case with script data.

This commit is contained in:
sunhao
2024-07-23 09:24:10 +08:00
committed by 刘刚
parent 001e6df9b7
commit 8d0088fd03
3 changed files with 7 additions and 1 deletions
+1
View File
@@ -57,6 +57,7 @@ foreach($cases as $case)
$stages = array_filter(explode(',', $case->stage));
foreach($stages as $key => $stage) $stages[$key] = zget($lang->testcase->stageList, $stage);
$case->stage = implode($lang->comma, $stages);
if(isset($case->script)) unset($case->script);
}
$cols = $config->testcase->dtable->fieldList;