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 array access on new type Int #59

Merged
merged 2 commits into from
May 10, 2022

Conversation

davidwebca
Copy link
Contributor

This is simply a follow-up on our last exchange! This one slipped my attention, but there were some array access on imageId and videoId still in the Recipe model.

If I understand right, the array accesses still found around line 162 in fields/Recipe.php should stay since it comes from the admin input and the input accepts arrays regardless of the limit of 1... I think. 🤔 https://github.com/nystudio107/craft-recipe/blob/develop-v4/src/fields/Recipe.php#L162

@davidwebca davidwebca requested a review from khalwat as a code owner May 10, 2022 03:33
@khalwat
Copy link
Contributor

khalwat commented May 10, 2022

Ah yes, sorry for the oversight! Thank you for the PR

@khalwat
Copy link
Contributor

khalwat commented May 10, 2022

Ah yes, sorry for the oversight! Appreciate the PR!

@khalwat khalwat merged commit 78bbb5b into nystudio107:develop-v4 May 10, 2022
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