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.4] Modify redirect with input to return empty if given empty array #17979

Merged
merged 2 commits into from
Feb 17, 2017
Merged

[5.4] Modify redirect with input to return empty if given empty array #17979

merged 2 commits into from
Feb 17, 2017

Conversation

themsaid
Copy link
Member

This will make withInput() flash no input if an empty array is passed:

->withInput([]) currently flashes all input because [] is evaluated as false.

@taylorotwell taylorotwell merged commit 62f10bb into laravel:5.4 Feb 17, 2017
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.

2 participants