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

URI build only from numbers #8

Closed
AdrianSkierniewski opened this issue Aug 22, 2013 · 3 comments
Closed

URI build only from numbers #8

AdrianSkierniewski opened this issue Aug 22, 2013 · 3 comments
Labels

Comments

@AdrianSkierniewski
Copy link

Hi,

I came across a bug, when my url is http://domain.pl/en/2222222222222222, uri consists of only numbers. I get an error:

array_values() expects parameter 1 to be array, integer given
Location:
/vendor/noherczeg/breadcrumb/src/Noherczeg/Breadcrumb/Breadcrumb.php on line 205

I found that json_decode return Int, and this breaks array_values()

@noherczeg
Copy link
Owner

Think I solved your problem, but please check it out, to be sure :)

If it's okay, I'll close this.

@AdrianSkierniewski
Copy link
Author

It works, thanks for the quick response

Good job with this package

@noherczeg
Copy link
Owner

You're welcome! :)

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

No branches or pull requests

2 participants