From 677065c69dbc24ff80b01bf4c81563eec8065e21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=B0=E6=B7=91=E6=9D=B0?= Date: Tue, 3 Sep 2024 14:46:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E8=B5=B7=20"feature/xinniu"=20?= =?UTF-8?q?=E5=BC=BA=E5=88=B6=E8=AF=84=E5=AE=A1=20(#2986)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- module/user/zen.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/user/zen.php b/module/user/zen.php index 826e2754bc..5e012d6d16 100644 --- a/module/user/zen.php +++ b/module/user/zen.php @@ -236,7 +236,7 @@ class userZen extends user { $groupList = array(); $roleGroup = array(); - $groups = $this->dao->select('id, name, role, vision')->from(TABLE_GROUP)->where('vision')->eq($this->config->vision)->fetchAll(); + $groups = $this->dao->select('id, name, role, vision')->from(TABLE_GROUP)->where('vision')->eq($this->config->vision)->andWhere('project')->eq('0')->fetchAll(); foreach($groups as $group) { $groupList[$group->id] = $group->name;