From fc0e55a41884539b9c46d1931d71772d1a2a5b67 Mon Sep 17 00:00:00 2001 From: songchenxuan Date: Wed, 24 Nov 2021 10:00:59 +0800 Subject: [PATCH] * Fix bug #16656. --- module/testtask/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/testtask/control.php b/module/testtask/control.php index d3e03b3244..bfceb8b358 100644 --- a/module/testtask/control.php +++ b/module/testtask/control.php @@ -1047,7 +1047,7 @@ class testtask extends control } else { - $this->config->testcase->search['fields']['branch'] = $this->lang->product->branch; + $this->config->testcase->search['fields']['branch'] = sprintf($this->lang->product->branch, $this->lang->product->branchName[$task->productType]); $branches = array('' => '') + $this->loadModel('branch')->getPairs($task->product, 'noempty'); if($task->branch) $branches = array('' => '', $task->branch => $branches[$task->branch]); $this->config->testcase->search['params']['branch']['values'] = $branches;