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

[6.x] Fix pivot restoration #35218

Merged
merged 1 commit into from
Nov 13, 2020
Merged

[6.x] Fix pivot restoration #35218

merged 1 commit into from
Nov 13, 2020

Conversation

driesvints
Copy link
Member

This fixes an issue where it might be that an array with differently indexed records could be passed to any of the newQueryForCollectionRestoration methods which would conflict with the [0] retrieval for the first record. An alternative fix would be to use Arr::first instead without resetting the array keys.

Fixes #35210

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