This commit is contained in:
王怡栋
2024-04-10 13:03:48 +08:00
parent 72a768062e
commit e4792d23cc
2 changed files with 10 additions and 7 deletions
+1 -1
View File
@@ -2643,7 +2643,7 @@ class bug extends control
$product = $this->loadModel('product')->getById($productID);
$bug = $this->bug->getById($bugID);
$branch = $product->type == 'branch' ? ($bug->branch > 0 ? $bug->branch . ',0' : '0') : '';
$productBugs = $this->bug->getProductBugPairs($productID, $branch, $search, $limit);
$productBugs = $this->bug->getProductBugPairs($productID, $branch, $search, $limit, 'all');
unset($productBugs[$bugID]);