mirror of https://gitee.com/karson/fastadmin.git
Merge branch 'develop' of gitee.com:karson/fastadmin into develop
commit
b0d295bd67
|
|
@ -472,7 +472,7 @@ class Auth extends \fast\Auth
|
||||||
->column('name,pid');
|
->column('name,pid');
|
||||||
$pidArr = array_unique(array_filter(array_column($ruleList, 'pid')));
|
$pidArr = array_unique(array_filter(array_column($ruleList, 'pid')));
|
||||||
foreach ($ruleList as $k => &$v) {
|
foreach ($ruleList as $k => &$v) {
|
||||||
if (!in_array($v['name'], $userRule)) {
|
if (!in_array(strtolower($v['name']), $userRule)) {
|
||||||
unset($ruleList[$k]);
|
unset($ruleList[$k]);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue