From 6d4bef4c39f493653c6b60c69d25f6ee375b7d24 Mon Sep 17 00:00:00 2001 From: wangyuting Date: Tue, 30 May 2023 13:23:05 +0800 Subject: [PATCH] * Remove unused local variable. --- 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 85fb1789a9..0f54135b8f 100644 --- a/module/bug/model.php +++ b/module/bug/model.php @@ -844,7 +844,7 @@ class bugModel extends model $excludeBugs .= ",{$bug->id},{$bug->linkBug}"; - if($bySearch) return $this->bugTao->getBySearch((array)$bug->product, $branch = 'all', $projectID = 0, $queryID, $excludeBugs, $orderBy = 'id desc', $pager); + if($bySearch) return $this->bugTao->getBySearch((array)$bug->product, 'all', 0, $queryID, $excludeBugs, 'id desc', $pager); return $this->dao->select('*')->from(TABLE_BUG) ->where('deleted')->eq('0')