Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined offset: X on getItemListsAtDepth(x) #114

Closed
erayaydin opened this issue Mar 14, 2016 · 3 comments
Closed

Undefined offset: X on getItemListsAtDepth(x) #114

erayaydin opened this issue Mar 14, 2016 · 3 comments

Comments

@erayaydin
Copy link

There was a problem with getItemListsAtDepth(2). When reached to this method:

Menu::handler('admin')->getItemListsAtDepth(2)->addClass("nav nav-second-level collapse");

its make * ItemList.php line 463* problem

Undefined offset: 2

Because there is no item lists at depth 2. But this completely stop application. I think its should return empty ItemList

@vespakoen
Copy link
Owner

Interesting, will look into this, thanks for reporting

@vespakoen
Copy link
Owner

@erayaydin
Copy link
Author

Thank you so much 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants