From 996ea7bf93d002a22c979a8b5a9d935633e1f126 Mon Sep 17 00:00:00 2001 From: zhujinyong Date: Wed, 1 Mar 2023 15:59:46 +0800 Subject: [PATCH] * Fix bug #32563. --- module/bug/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/bug/control.php b/module/bug/control.php index 5981d7067e..f9727a0d45 100755 --- a/module/bug/control.php +++ b/module/bug/control.php @@ -636,7 +636,7 @@ class bug extends control /* Get executions. */ $executions = array(0 => ''); - if(isset($projects[$projectID])) $executions += $this->product->getExecutionPairsByProduct($productID, $branch ? "0,$branch" : 0, 'id_desc', $projectID, !$projectID ? 'multiple' : ''); + if(isset($projects[$projectID])) $executions += $this->product->getExecutionPairsByProduct($productID, $branch ? "0,$branch" : 0, 'id_desc', $projectID, !$projectID ? 'multiple|stagefilter' : 'stagefilter'); $execution = $executionID ? $this->loadModel('execution')->getByID($executionID) : ''; $executions = isset($executions[$executionID]) ? $executions : $executions + array($executionID => $execution->name);