From 818bb2ef6360b7af92a236c6551ab452ded23907 Mon Sep 17 00:00:00 2001 From: zhouxudong Date: Thu, 10 Feb 2022 14:04:19 +0800 Subject: [PATCH] *Finish task #48844. --- module/bug/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/bug/model.php b/module/bug/model.php index 4689361bbe..77ec4f5626 100644 --- a/module/bug/model.php +++ b/module/bug/model.php @@ -1365,7 +1365,7 @@ class bugModel extends model if($browseType == 'bySearch') { $bug = $this->getById($bugID); - $bugs2Link = $this->getBySearch($bug->product, $bug->branch, $queryID, 'id'); + $bugs2Link = $this->getBySearch($bug->product, 'all', $queryID, 'id'); foreach($bugs2Link as $key => $bug2Link) { if($bug2Link->id == $bugID) unset($bugs2Link[$key]);