* Code for task#81779.

This commit is contained in:
xieqiyu
2023-01-04 09:11:27 +08:00
parent 55a21bc600
commit bf0ee11b80
2 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -665,7 +665,7 @@ class bug extends control
$this->view->storyID = $storyID;
$this->view->buildID = $buildID;
$this->view->caseID = $caseID;
$this->view->caseFiles = isset($caseFiles) ? $caseFiles : array();
$this->view->caseFiles = $caseID ? $this->loadModel('file')->getByObject('testcase', $caseID) : array();
$this->view->runID = $runID;
$this->view->version = $version;
$this->view->testtask = $testtask;