From 26fd1f24de08815d1049fd4e46206d47d1eb6a40 Mon Sep 17 00:00:00 2001 From: hufangzhou <746775970@qq.com> Date: Thu, 13 May 2021 17:11:03 +0800 Subject: [PATCH] * Adjust the code. --- module/build/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/build/control.php b/module/build/control.php index bca492741a..e1e9ea67a8 100644 --- a/module/build/control.php +++ b/module/build/control.php @@ -373,7 +373,7 @@ class build extends control } if($varName == 'testTaskBuild') { - $builds = array('' => '') + $this->build->getExecutionBuildPairs($executionID, $productID, $branch, 'noempty,notrunk'); + $builds = array('') + $this->build->getExecutionBuildPairs($executionID, $productID, $branch, 'noempty,notrunk'); if($isJsonView) die(json_encode($builds)); if(empty(array_filter($builds)))