lgy 1 month ago
parent
commit
fd923020ca
1 changed files with 1 additions and 1 deletions
  1. 1 1
      jcjyhr/extend/ba/Auth.php

+ 1 - 1
jcjyhr/extend/ba/Auth.php

@@ -79,7 +79,7 @@ class Auth
                 foreach ($children as $c=>$child) {
                     foreach ($child as $a=>$b)
                     {
-                        $children[$c[strtolower($a)]] = $b;
+                        $children[$c][strtolower($a)] = $b;
                     }
                 }
                 $rules[$key]['children'] = $children;