* fix the error of step.

This commit is contained in:
wangchunsheng
2011-05-02 09:15:45 +00:00
parent fa9011fcb2
commit 58557cd3c2
+2 -2
View File
@@ -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 . "<br />";
$step .= $i . '、' . $this->lang->testcase->stepDesc . ':' . $testcaseStep->desc . '<br />' . $this->lang->testcase->stepExpect . ':' . $testcaseStep->expect . "<br />";
$i++;
}
$testcase->company = $step;
$testcase->step = $step;
if($_POST['fileType'] == 'html')
{