mirror of https://gitee.com/karson/fastadmin.git
Compare commits
No commits in common. "e8d65eb124d7cc4cc37441386fab58c042fdedde" and "ac25e4b2754831fc94941cc7ff7d7c1edcaaf8cc" have entirely different histories.
e8d65eb124
...
ac25e4b275
|
|
@ -472,7 +472,7 @@ class Auth extends \fast\Auth
|
|||
->column('name,pid');
|
||||
$pidArr = array_unique(array_filter(array_column($ruleList, 'pid')));
|
||||
foreach ($ruleList as $k => &$v) {
|
||||
if (!in_array(strtolower($v['name']), $userRule)) {
|
||||
if (!in_array($v['name'], $userRule)) {
|
||||
unset($ruleList[$k]);
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue