Skip to content

[5.4] Fix in Cache (Redis Store) when calling many()#18984

Merged
taylorotwell merged 1 commit into
laravel:5.4from
themsaid:redis/cache/many/fix
Apr 28, 2017
Merged

[5.4] Fix in Cache (Redis Store) when calling many()#18984
taylorotwell merged 1 commit into
laravel:5.4from
themsaid:redis/cache/many/fix

Conversation

@themsaid

Copy link
Copy Markdown
Member

If the result of mget() for a value is null, calling serialize(null) will convert the value to false which will result the behaviour described in: #18981

This PR fixes the issue by returning null as is same as we do with the get() method of the RedisStore.

@taylorotwell taylorotwell merged commit 7a871be into laravel:5.4 Apr 28, 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