* Optimize bug edit, change remove get cases.

This commit is contained in:
chaideqing
2023-06-30 02:31:54 +00:00
parent 92c27e9796
commit f212a66944
+1 -1
View File
@@ -1122,7 +1122,7 @@ class bug extends control
if($bug->case)
{
$case = $this->loadModel('testcase')->getByID($bug->case);
$cases = $this->loadmodel('testcase')->getPairsByProduct($bug->product, array(0, $bug->branch), $case->title, $this->config->maxCount);
$cases = array($case->id => $case->id . $case->title);
}
$this->config->moreLinks['case'] = inlink('ajaxGetProductCases', "bugID={$bugID}");