* Fix group bug.

This commit is contained in:
孙广明
2022-02-24 15:41:12 +08:00
parent c3cc3eabd9
commit f9ed1e1dd9
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -638,7 +638,7 @@ class user extends control
$this->view->depts = $this->dept->getOptionMenu();
$this->view->userGroups = implode(',', array_keys($userGroups));
$this->view->companies = $this->loadModel('company')->getOutsideCompanies();
$this->view->groups = $this->dao->select('id, name')->from(TABLE_GROUP)->fetchPairs('id', 'name');
$this->view->groups = $this->dao->select('id, name')->from(TABLE_GROUP)->where('project')->eq(0)->fetchPairs('id', 'name');
$this->view->rand = $this->user->updateSessionRandom();
$this->display();