* Fix the bug that user can not select pipeline from jenkins.

This commit is contained in:
dingguodong
2021-10-27 10:39:11 +08:00
parent 1275fa87cd
commit fff67388f8

View File

@@ -120,7 +120,7 @@ class job extends control
$this->view->repoTypes = $repoTypes;
$this->view->products = array(0 => '') + $this->loadModel('product')->getProductPairsByProject($this->projectID);
$this->view->jenkinsServerList = $this->loadModel('jenkins')->getPairs();
$this->view->jenkinsServerList = array("" => "") + $this->loadModel('jenkins')->getPairs();
$this->display();
}