From 68f77dadc0a72c49c4e22a2354dfed437dcf928b Mon Sep 17 00:00:00 2001 From: caoyanyi Date: Tue, 21 Nov 2023 15:22:43 +0800 Subject: [PATCH] * Replace gitlab repo attribute. --- module/repo/control.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module/repo/control.php b/module/repo/control.php index e8d8dfec9b..5219d4f8d2 100644 --- a/module/repo/control.php +++ b/module/repo/control.php @@ -327,6 +327,8 @@ 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);