* Adjust code.

This commit is contained in:
caoyanyi
2022-08-04 08:44:34 +08:00
parent 7a12986ba1
commit 0b714797e9
+1 -1
View File
@@ -115,7 +115,7 @@ class mr extends control
if(empty($project) or !$project->allow_merge_commits) $repo = array();
}
$hosts = $this->loadModel('pipeline')->getList(array('gitea', 'gitlab'));
$hosts = $this->loadModel('pipeline')->getList(array('gitea', 'gitlab'));
if(!$this->app->user->admin)
{
$gitlabUsers = $this->loadModel('gitlab')->getGitLabListByAccount();