From ea45481a2a78ef816906feee8cf00ab282c44809 Mon Sep 17 00:00:00 2001 From: songchenxuan Date: Wed, 24 Nov 2021 09:24:17 +0800 Subject: [PATCH] * Fix bug #16654. --- module/projectrelease/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/projectrelease/control.php b/module/projectrelease/control.php index b2011200bf..8ff0bca59a 100644 --- a/module/projectrelease/control.php +++ b/module/projectrelease/control.php @@ -479,7 +479,7 @@ class projectrelease extends control } else { - $this->config->product->search['fields']['branch'] = $this->lang->product->branch; + $this->config->product->search['fields']['branch'] = sprintf($this->lang->product->branch, $this->lang->product->branchName[$release->productType]); $branches = array('' => '') + $this->loadModel('branch')->getPairs($release->product, 'noempty'); if($release->branch) $branches = array('' => '', $release->branch => $branches[$release->branch]); $this->config->product->search['params']['branch']['values'] = $branches;