|
@@ -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;
|
|
|
}
|