diff --git a/module/bug/model.php b/module/bug/model.php index 4ead12474a..7756aeb3f4 100644 --- a/module/bug/model.php +++ b/module/bug/model.php @@ -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 = "

[" . $this->lang->testcase->precondition . "]

" . "\n" . $run->case->precondition; + } + $bugSteps .= $this->lang->bug->tplStep; foreach($caseSteps as $key => $step) { $bugSteps .= ($key + 1) . '. ' .$step->desc . "\n";