Skip to content

Conversation

@Timvd
Copy link

@Timvd Timvd commented Mar 23, 2018

This PR fixes the following problem :

The condition if ($json) results to false when the response of the json_decode($response->body, true); is an empty array.
The post method will then return the $response->body instead of empty array.

@OndraFiedler OndraFiedler merged commit 4400ed4 into recombee:master Mar 23, 2018
@Timvd Timvd changed the title Fix post response when de json decode result is an empty array Fix post response when the json decode result is an empty array Mar 28, 2018
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