* Fix bug #18448.
This commit is contained in:
@@ -121,7 +121,7 @@ class job extends control
|
||||
$this->view->products = array(0 => '') + $this->loadModel('product')->getProductPairsByProject($this->projectID);
|
||||
|
||||
$this->view->jenkinsServerList = array('' => '') + $this->loadModel('jenkins')->getPairs();
|
||||
$this->view->sonarqubeServerList = array('' => '') + $this->loadModel('sonarqube')->getPairs();
|
||||
$this->view->sonarqubeServerList = array('') + $this->loadModel('sonarqube')->getPairs();
|
||||
|
||||
$this->display();
|
||||
}
|
||||
@@ -198,9 +198,9 @@ class job extends control
|
||||
$this->view->repoTypes = $repoTypes;
|
||||
$this->view->repoType = zget($repoTypes, $job->repo, 'Git');
|
||||
$this->view->job = $job;
|
||||
$this->view->products = array(0 => '') + $products;
|
||||
$this->view->products = array('') + $products;
|
||||
$this->view->jenkinsServerList = $this->loadModel('jenkins')->getPairs();
|
||||
$this->view->sonarqubeServerList = array('' => '') + $this->loadModel('sonarqube')->getPairs();
|
||||
$this->view->sonarqubeServerList = array('') + $this->loadModel('sonarqube')->getPairs();
|
||||
$this->view->pipelines = $this->jenkins->getTasks($job->server);
|
||||
|
||||
$this->display();
|
||||
|
||||
Reference in New Issue
Block a user