|
@@ -188,7 +188,7 @@ class Menu
|
|
|
{
|
|
|
if (isset($child[$v['id']])) {
|
|
|
foreach ($child[$v['id']] as $i => $j) {
|
|
|
- if ($auth && $i && strpos($auth . '.', $i . '.') === false) {
|
|
|
+ if ($auth && $i && strpos($auth . '.', $i) === false) {
|
|
|
//unset($child[$parent][$i]);
|
|
|
//continue;
|
|
|
} else {
|