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(Container): fix undefined array key #765

Merged
merged 2 commits into from
Feb 22, 2024
Merged

Conversation

stonebuzz
Copy link
Contributor

@stonebuzz stonebuzz commented Feb 22, 2024

Prevent PHP warning / error

PHP Warning (2): Undefined array key "itemtype" in /mnt/diskhome/home/osu7snko7a9h/dbn41swHoff/htdocs/marketplace/fields/inc/container.class.php at line 1444
Uncaught Exception Error: Class name must be a valid object or a string in /mnt/diskhome/home/osu7snko7a9h/dbn41swHoff/htdocs/marketplace/fields/inc/container.class.php at line 1444

Fix #764

Copy link
Contributor

@Rom1-B Rom1-B left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After IRL discussion, $data['itemtype'] never seems to set

@stonebuzz stonebuzz merged commit b03c56d into main Feb 22, 2024
3 checks passed
@stonebuzz stonebuzz deleted the fix/undefined_array_key branch February 22, 2024 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants