* Fix bug#42716,42747

This commit is contained in:
zenggang
2023-12-29 02:26:40 +00:00
parent c85675ac16
commit 03ee7a2700
5 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -381,7 +381,7 @@ class gitlab extends control
{
$this->gitlabZen->checkBindedUser($gitlabID);
$members = $this->gitlab->apiGetGroupMembers($gitlabID, $groupID, $openID);
$members = $this->gitlab->apiGetGroupMembers($gitlabID, $groupID, 0);
if(empty($members) or $members[0]->access_level < $this->config->gitlab->accessLevel['owner']) return print(js::alert($this->lang->gitlab->noAccess) . js::locate($this->createLink('space', 'browse')));
}