Skip to content

Fix errors caused by product data being array #245

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

Merged
merged 1 commit into from
May 22, 2025

Conversation

indykoning
Copy link
Contributor

Before, we cast any product data we get to string.
This causes problems when using data that does not return a string. Like media_gallery

With this change we pass through the value if it is an array in the same way as we used to before
85157da#diff-a3e4cad992660319812edf6a3e7db41926ab4e8ac8f4fb29de36541097bd3000R755

forced it to a string.

@Marvin-Magmodules Marvin-Magmodules merged commit aafaba1 into magmodules:master May 22, 2025
11 checks passed
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