* Fix bug #16654.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user