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

Default to empty array on translator resource provider #5211

Conversation

dantleech
Copy link
Contributor

Q A
Bug fix? yes
New feature? no
BC breaks? no
License MIT

$resources is an array, but it defaults to NULL.

If no resources are available, an array_merge action is later performed and an error occurs.

This PR changes the default to an empty array.

@michalmarcinkowski michalmarcinkowski merged commit ba67c3c into Sylius:master Jun 9, 2016
@michalmarcinkowski
Copy link
Contributor

Thanks @dantleech!

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

3 participants