Merge branch 'sprint/task_zhouxudong_48844' into 'master'

*Finish task #48844.

See merge request easycorp/zentaopms!1759
This commit is contained in:
李玉春
2022-02-11 01:08:59 +00:00
+1 -1
View File
@@ -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]);