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);