From 58557cd3c2d5c46b71aba28bd667702cde1edf6a Mon Sep 17 00:00:00 2001 From: wangchunsheng Date: Mon, 2 May 2011 09:15:45 +0000 Subject: [PATCH] * fix the error of step. --- module/testcase/control.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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') {