lgy 1 semana atrás
pai
commit
68f0751d98
1 arquivos alterados com 4 adições e 1 exclusões
  1. 4 1
      jcjyhr/extend/ba/Auth.php

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

@@ -77,7 +77,10 @@ class Auth
             if (array_key_exists($rule['ID'], $this->children)) {
                 $children = $this->children[$rule['ID']];
                 foreach ($children as $c=>$child) {
-                    $children[strtolower($c)] = $child;
+                    foreach ($child as $a=>$b)
+                    {
+                        $children[$c[strtolower($a)]] = $b;
+                    }
                 }
                 $rules[$key]['children'] = $children;
             }