This commit is contained in:
hufangzhou
2023-04-20 09:30:43 +08:00
parent 19870de8a0
commit 87f793d36d
+1 -1
View File
@@ -513,7 +513,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)