From f0907d2f11d5c5c3ed816cfcfd5e5488dae99701 Mon Sep 17 00:00:00 2001 From: liyuchun Date: Mon, 24 Jan 2022 14:32:31 +0800 Subject: [PATCH] * Fix error. --- module/gitlab/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/gitlab/control.php b/module/gitlab/control.php index 077de6ebe7..3e10e03439 100644 --- a/module/gitlab/control.php +++ b/module/gitlab/control.php @@ -662,7 +662,7 @@ class gitlab extends control $project->adminer = (bool)$this->app->user->admin; if(!$project->adminer and isset($project->owner) and $project->owner->id == $openID) $project->adminer = true; - $project->isMaintainer = $this->gitlab->checkUserAccess($gitlabID, $openID, $project->id, $project, $groupIDList, 'maintainer'); + $project->isMaintainer = $this->gitlab->checkUserAccess($gitlabID, $project->id, $project, $groupIDList, 'maintainer'); } $gitlab = $this->gitlab->getByID($gitlabID);