Skip to content

Fixed bug that caused an error: "array_merge(): Argument #2 is not an ar...#1796

Merged
pjedrzejewski merged 1 commit intoSylius:masterfrom
sivolobov:master
Aug 18, 2014
Merged

Fixed bug that caused an error: "array_merge(): Argument #2 is not an ar...#1796
pjedrzejewski merged 1 commit intoSylius:masterfrom
sivolobov:master

Conversation

@sivolobov
Copy link
Copy Markdown
Contributor

Fixed bug that caused an error: "array_merge(): Argument #2 is not an array" when there is no parameter with keys "criteria" and "sorting".

…not an array" when there is no parameter with keys "criteria" and "sorting"
@stloyd
Copy link
Copy Markdown
Contributor

stloyd commented Aug 17, 2014

👍, but I would say that this should be covered by specs.

@arnolanglade
Copy link
Copy Markdown
Contributor

👍
@pjedrzejewski Without this fix, the build failed... We got ContextErrorException: Warning: array_merge(): Argument #2 is not an array on the currency list.

@sivolobov
Copy link
Copy Markdown
Contributor Author

Sorry guys but I don't know how to write specs. I will learn it and will add to this PR.

pjedrzejewski pushed a commit that referenced this pull request Aug 18, 2014
Fixed bug that caused an error: "array_merge(): Argument #2 is not an ar...
@pjedrzejewski pjedrzejewski merged commit a5175ee into Sylius:master Aug 18, 2014
@pjedrzejewski
Copy link
Copy Markdown
Contributor

Thanks @sivolobov!

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.

4 participants