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

Check if key 'value' isset #13648

Merged
merged 1 commit into from
Sep 10, 2023
Merged

Conversation

MarcelWeidum
Copy link
Contributor

Description

When I save an entry with the Money field added later I get the following error:
Undefined array key \"value\" at /pathtoproject/vendor/craftcms/cms/src/fields/Money.php:182

This is solved by checking is the key exists.

@brandonkelly brandonkelly merged commit 4389eef into craftcms:develop Sep 10, 2023
@brandonkelly
Copy link
Member

Thanks for submitting that! Merged in for the next release.

@brandonkelly
Copy link
Member

Craft 4.5.4 is out with that fix.

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