+ finish task#572

This commit is contained in:
chencongzhi520@gmail.com
2011-10-16 06:40:41 +00:00
parent 500116121b
commit f433f23308
+5 -1
View File
@@ -368,7 +368,11 @@ class bugModel extends model
$title = $run->case->title;
$caseSteps = $run->case->steps;
$stepResults = unserialize($result->stepResults);
$bugSteps = $this->lang->bug->tplStep;
if($run->case->precondition != '')
{
$bugSteps = "<p>[" . $this->lang->testcase->precondition . "]</p>" . "\n" . $run->case->precondition;
}
$bugSteps .= $this->lang->bug->tplStep;
foreach($caseSteps as $key => $step)
{
$bugSteps .= ($key + 1) . '. ' .$step->desc . "\n";