* Fix bug for group.

This commit is contained in:
tanghucheng
2023-04-20 11:07:37 +08:00
parent f83301bb91
commit cfbd772ccf
+1 -1
View File
@@ -469,7 +469,7 @@ class groupModel extends model
foreach($privs as $priv) $groups[$priv->group] = $priv->group;
$privMap = array();
$privList = $this->dao->select('group,module,method')->from(TABLE_GROUPPRIV)->where('group')->in($groups)->fetchAll();
$privList = $this->dao->select('`group`,module,method')->from(TABLE_GROUPPRIV)->where('group')->in($groups)->fetchAll();
foreach($privList as $priv) $privMap[$priv->group . '-' . $priv->module . '-' . $priv->method] = true;
foreach($privs as $priv)