From 076b33652c19e2948ec7746618b4aa3af0d8ea13 Mon Sep 17 00:00:00 2001 From: liumengyi Date: Thu, 25 Apr 2024 15:11:57 +0800 Subject: [PATCH] * Fix bug #48429, don't append relatedBugs to excludeBugs when linking bugs. --- 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 728af61a26..23c7cda43c 100644 --- a/module/bug/model.php +++ b/module/bug/model.php @@ -605,7 +605,7 @@ class bugModel extends model { $bug = $this->getByID($bugID); - $excludeBugs .= ",{$bug->id},{$bug->relatedBug}"; + $excludeBugs .= ",{$bug->id}"; if($bySearch) return $this->getBySearch('bug', (array)$bug->product, 'all', 0, 0, $queryID, $excludeBugs, 'id desc', $pager);