From fcdb0b4af31a79d295489e98e626e0d12877b751 Mon Sep 17 00:00:00 2001 From: zhaoke Date: Fri, 24 Mar 2023 14:28:23 +0800 Subject: [PATCH] * Fix bug #32871. --- 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 2242e946d9..a4fb4087c0 100644 --- a/module/gitlab/control.php +++ b/module/gitlab/control.php @@ -140,7 +140,7 @@ class gitlab extends control $user = $this->gitlab->apiGetCurrentUser($gitlab->url, $gitlab->token); if(!isset($user->is_admin) or !$user->is_admin) return print(js::alert($this->lang->gitlab->tokenLimit) . js::locate($this->createLink('gitlab', 'edit', array('gitlabID' => $gitlabID)))); - $zentaoUsers = $this->dao->select('account,email,realname')->from(TABLE_USER)->fetchAll('account'); + $zentaoUsers = $this->dao->select('account,email,realname')->from(TABLE_USER)->where('deleted')->eq('0')->fetchAll('account'); if($_POST) {