From 887afd1a5cf2263bb3fea0672bb780669d4e892e Mon Sep 17 00:00:00 2001 From: wangyuting <851424971@qq.com> Date: Wed, 23 Nov 2022 03:18:45 +0000 Subject: [PATCH] * Fix bug #30123. --- module/build/control.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/build/control.php b/module/build/control.php index 2d4b63c3a5..7716fc5020 100644 --- a/module/build/control.php +++ b/module/build/control.php @@ -74,8 +74,8 @@ class build extends control $this->project->setMenu($projectID); $executions = $this->execution->getPairs($projectID, 'all', 'stagefilter'); $executionID = empty($executionID) ? key($executions) : $executionID; - $productGroups = $this->product->getProducts($projectID); - $branchGroups = $this->project->getBranchesByProject($projectID); + $productGroups = $this->product->getProducts($executionID); + $branchGroups = $this->project->getBranchesByProject($executionID); $this->session->set('project', $projectID); } elseif($this->app->tab == 'execution')