From 51daf74a4a6e6f2aec42f143a7f91aebe490eca1 Mon Sep 17 00:00:00 2001 From: caoyanyi Date: Tue, 21 Nov 2023 15:21:24 +0800 Subject: [PATCH] * Replace gitlab repo attribute. --- module/repo/control.php | 1 + 1 file changed, 1 insertion(+) diff --git a/module/repo/control.php b/module/repo/control.php index 5cc7971fcf..f4ec90f44e 100644 --- a/module/repo/control.php +++ b/module/repo/control.php @@ -322,6 +322,7 @@ class repo extends control $entry = urldecode($entry); $pathInfo = helper::mbPathinfo($entry); + if($repo->SCM == 'Gitlab') $repo = $this->repo->processGitService($repo, true); if($this->app->tab == 'execution') $this->view->executionID = $objectID; $this->view->title = $this->lang->repo->common . $this->lang->colon . $this->lang->repo->view; $this->view->dropMenus = $this->repoZen->getBranchAndTagItems($repo, $this->cookie->repoBranch);