* Fix bug 12038.

This commit is contained in:
Guanxiying
2021-04-14 16:00:35 +08:00
parent 6453f7bed0
commit a31a271e69
+8
View File
@@ -165,6 +165,14 @@ class repo extends control
$this->app->loadLang('action');
if($repo->SCM == 'Gitlab')
{
$projects = $this->repo->getGitlabProjects($repo->client, $repo->password);
$options = array();
foreach($projects as $project) $options[$project->id] = $project->name . ':' . $project->http_url_to_repo;
$this->view->projects = $options;
}
$repo->repoType = $repo->id . '-' . $repo->SCM;
$this->view->repo = $repo;
$this->view->repoID = $repoID;