* Fix bug#1349

This commit is contained in:
滔哥
2017-12-20 11:02:54 +08:00
parent 0c8e120075
commit 5c8e01875b
+4 -1
View File
@@ -1307,7 +1307,10 @@ class testcaseModel extends model
echo $this->lang->testcase->typeList[$case->type];
break;
case 'stage':
foreach(explode(',', trim($case->stage, ',')) as $stage) echo $this->lang->testcase->stageList[$stage] . '<br />';
$stages = '';
foreach(explode(',', trim($case->stage, ',')) as $stage) $stages .= $this->lang->testcase->stageList[$stage] . ',';
$stages = trim($stages, ',');
echo "<span title='$stages'>$stages</span>";
break;
case 'status':
if($case->needconfirm)