* finish task #7263.

This commit is contained in:
z
2020-06-17 13:03:15 +08:00
parent d8ce393afa
commit cb8d7502b7
5 changed files with 11 additions and 5 deletions
+5
View File
@@ -350,6 +350,11 @@ class bug extends control
if($runID and $resultID) extract($this->bug->getBugInfoFromResult($resultID, 0, 0, isset($stepIdList) ? $stepIdList : ''));// If set runID and resultID, get the result info by resultID as template.
if(!$runID and $caseID) extract($this->bug->getBugInfoFromResult($resultID, $caseID, $version, isset($stepIdList) ? $stepIdList : ''));// If not set runID but set caseID, get the result info by resultID and case info.
if($testtask)
{
$testtask = $this->loadModel('testtask')->getById($testtask);
$buildID = $testtask->build;
}
/* If bugID setted, use this bug as template. */
if(isset($bugID))