From c5f116efc75e6a231fa33542c292391a3ca884bf Mon Sep 17 00:00:00 2001 From: liugang Date: Fri, 8 Dec 2023 15:31:52 +0800 Subject: [PATCH] * bugModel: remove unused parameter, fix bug #41143. --- 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 7072b860f3..df7f8ec8e9 100644 --- a/module/bug/model.php +++ b/module/bug/model.php @@ -1292,7 +1292,7 @@ class bugModel extends model $datas = $this->dao->select('execution AS name, count(execution) AS value')->from(TABLE_BUG)->where($this->reportCondition())->groupBy('execution')->orderBy('value_desc')->fetchAll('name'); if(!$datas) return array(); - $executionPairs = $this->loadModel('execution')->getPairs($this->session->project); + $executionPairs = $this->loadModel('execution')->getPairs(); $maxLength = common::checkNotCN() ? 22 : 12; foreach($datas as $executionID => $data) {