This commit is contained in:
caoyanyi
2023-09-06 15:21:37 +08:00
parent be374aed95
commit ba11d85f7f
+1 -1
View File
@@ -1380,7 +1380,7 @@ class repo extends control
$gitlabList = $this->loadModel('gitlab')->getList();
$gitlab = empty($server) ? array_shift($gitlabList) : $this->gitlab->getById($server);
$repoList = $this->repoZen->getGitlabNotExistRepos($gitlab);
$repoList = $gitlab ? $this->repoZen->getGitlabNotExistRepos($gitlab) : array();
$products = $this->loadModel('product')->getPairs('', 0, '', 'all');