* Fix bug #48429, don't append relatedBugs to excludeBugs when linking bugs.

This commit is contained in:
liumengyi
2024-04-25 15:12:58 +08:00
parent bf59668dff
commit 076b33652c
+1 -1
View File
@@ -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);