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

Fix single page menus #64

Merged
merged 1 commit into from
May 27, 2016
Merged

Conversation

thomasjthomasj
Copy link
Contributor

There was an issue where a menu would break if there was only one page in it. This is caused by an incorrect use of type casting when building the menus. Casting $page to an array does not result in [$page] but rather, casts the top level of the page to an array

@thomasjthomasj thomasjthomasj merged commit 4e82092 into develop May 27, 2016
@thomasjthomasj thomasjthomasj deleted the feature/single-page-menu-fix branch May 27, 2016 13:57
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

Successfully merging this pull request may close these issues.

None yet

1 participant