Commit 4acb8326 by 冷斌

fix bug

parent 57a85420
......@@ -152,7 +152,7 @@ class Auth{
->table($this->_config['AUTH_GROUP_ACCESS'] . ' a')
->where("a.uid='$uid' and g.status='1'")
->join($this->_config['AUTH_GROUP']." g on a.group_id=g.id")
->field('rules')->select();
->field('a.rules')->select();
$groups[$uid]=$user_groups?$user_groups:array();
return $groups[$uid];
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment