diff --git a/module/testcase/control.php b/module/testcase/control.php index 713f155b6c..1dcd0bf605 100644 --- a/module/testcase/control.php +++ b/module/testcase/control.php @@ -415,10 +415,10 @@ class testcase extends control $testcaseSteps = $this->dao->select('`desc`, expect')->from(TABLE_CASESTEP)->where('`case`')->eq($testcase->id)->fetchAll(); foreach($testcaseSteps as $testcaseStep) { - $step .= $i . '、' . $this->lang->testcase->stepDesc . ':' . $testcaseStep->desc . $this->lang->testcase->stepExpect . ':' . $testcaseStep->expect . "
"; + $step .= $i . '、' . $this->lang->testcase->stepDesc . ':' . $testcaseStep->desc . '
' . $this->lang->testcase->stepExpect . ':' . $testcaseStep->expect . "
"; $i++; } - $testcase->company = $step; + $testcase->step = $step; if($_POST['fileType'] == 'html') {