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;