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

[5.2] Fix for Eloquent function makeHidden() when used with a string. #14852

Merged
merged 1 commit into from
Aug 16, 2016

Conversation

j3j5
Copy link
Contributor

@j3j5 j3j5 commented Aug 16, 2016

According to the docs (phpDocs and laravel-docs) makeHidden function can be used with a string (for only one attribute) but 45d6abf makes it fail because array_merge() expects both parameters to be arrays.

This bug is also present on master.

@j3j5 j3j5 changed the title Fix for Eloquent function makeHidden() when used with a string. [5.2] Fix for Eloquent function makeHidden() when used with a string. Aug 16, 2016
@taylorotwell taylorotwell merged commit 60b386f into laravel:5.2 Aug 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants