-
Notifications
You must be signed in to change notification settings - Fork 216
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
ErrorException in HasRole.php line 79: in_array() expects parameter 2 to be array, object given #56
Comments
@camiant |
works like a charm :) 2015-06-09 23:52 GMT+02:00 Kodeine notifications@github.com:
|
sorry.. my mistake: I'm not recognized in my very role 2015-06-09 23:52 GMT+02:00 Kodeine notifications@github.com:
|
line 79 needs to be written as : return in_array($slug, $roles->toArray()); 2015-06-09 23:52 GMT+02:00 Kodeine notifications@github.com:
|
@camiant |
Follow up at #60. |
Please fix it for L5.1 compatibility
The text was updated successfully, but these errors were encountered: