From eadbb0e1de96840a47d183cd980bdc0c40a83685 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=80=A1=E6=A0=8B?= Date: Mon, 13 Dec 2021 16:09:40 +0800 Subject: [PATCH] * adjust code. --- module/execution/control.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/module/execution/control.php b/module/execution/control.php index e193c6fa9c..b274bde2ae 100644 --- a/module/execution/control.php +++ b/module/execution/control.php @@ -626,7 +626,8 @@ class execution extends control $bugModules = array(); foreach($products as $productID => $productName) { - foreach($this->tree->getOptionMenu($productID, $viewType = 'bug', $startModuleID = 0) as $moduleID => $moduleName) + $productModules = $this->tree->getOptionMenu($productID, 'bug', 0); + foreach($productModules as $moduleID => $moduleName) { if(empty($moduleID)) {