From 0b714797e9e35a557f39e0413b3a4c19b9d43e3c Mon Sep 17 00:00:00 2001 From: caoyanyi Date: Thu, 4 Aug 2022 08:44:34 +0800 Subject: [PATCH] * Adjust code. --- module/mr/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/mr/control.php b/module/mr/control.php index 33ea93a12b..490a28a2f4 100644 --- a/module/mr/control.php +++ b/module/mr/control.php @@ -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();