From df93073fe4c2b95293d7a7ea2d86637458f2907c Mon Sep 17 00:00:00 2001 From: caoyanyi Date: Thu, 21 Jul 2022 13:24:43 +0800 Subject: [PATCH] * Fix bug #24576. --- module/api/control.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/api/control.php b/module/api/control.php index 2601e6e871..c427414454 100755 --- a/module/api/control.php +++ b/module/api/control.php @@ -353,7 +353,7 @@ class api extends control $this->view->type = $type; $this->view->groups = $this->loadModel('group')->getPairs(); - $this->view->users = $this->user->getPairs('nocode'); + $this->view->users = $this->user->getPairs('nocode|noclosed'); $this->display(); } @@ -388,7 +388,7 @@ class api extends control $this->view->doc = $doc; $this->view->groups = $this->loadModel('group')->getPairs(); - $this->view->users = $this->user->getPairs('nocode'); + $this->view->users = $this->user->getPairs('nocode|noclosed'); $this->display(); }