some fix
This commit is contained in:
@ -105,9 +105,6 @@ class MenuService
|
||||
$child = self::getChild($id);
|
||||
if (!$child->isEmpty()){
|
||||
foreach ($child as $item){
|
||||
// if ($item->url === \kernel\Request::getUrlPath()){
|
||||
// return true;
|
||||
// }
|
||||
if (strripos(Request::getUrlPath(), $item->url) !== false) {
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user