From 9dd04c346f1f3e87f47f3c52d1597a80ef0a18cd Mon Sep 17 00:00:00 2001 From: xieqiyu Date: Thu, 12 Jan 2023 15:26:00 +0800 Subject: [PATCH] * Fix bug#31502. --- module/execution/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/execution/model.php b/module/execution/model.php index 9a3ac752f5..4cd172bd03 100755 --- a/module/execution/model.php +++ b/module/execution/model.php @@ -4044,7 +4044,7 @@ class executionModel extends model $builds = array('' => '', 'trunk' => $this->lang->trunk); foreach($products as $product) { - $productModules = $this->loadModel('tree')->getOptionMenu($product->id); + $productModules = $this->loadModel('tree')->getOptionMenu($product->id, 'bug'); $productBuilds = $this->loadModel('build')->getBuildPairs($product->id, 'all', $params = 'noempty|notrunk|withbranch'); foreach($productModules as $moduleID => $moduleName) {