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

Fix comparing empty arrays #1236

Merged
merged 1 commit into from
Mar 6, 2023
Merged

Conversation

boudewijn-zicht
Copy link
Contributor

@boudewijn-zicht boudewijn-zicht commented Feb 13, 2023

When the values are empty arrays we do NOT use Hash::check because that will always return false, hence even when both values are empty arrays the result will still be that the values are different and have to be imported

Fixes #1238

When the values are empty arrays we do NOT use Hash::check because that will always return false, hence even when both values are empty arrays the result will still be that the values are different and have to be imported
@angrybrad angrybrad merged commit 6ceb437 into craftcms:develop Mar 6, 2023
@brandonkelly
Copy link
Member

Feed Me 4.6.0 (Craft 3) and 5.1.0 (Craft 4) have been released with this. Thanks for the PR!

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.

3 participants