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

Database Orders: Add is_array check before checking array has key #851

Merged
merged 1 commit into from
Mar 9, 2023

Conversation

duncanmcclean
Copy link
Owner

This pull request fixes an issue you might run into when using database orders when the data column is null instead of being an array of data.

Error

array_key_exists(): Argument #2 ($array) must be of type array, null given (View: /Users/<home>/Sites/<site_name>/vendor/doublethreedigital/runway/resources/views/edit.blade.php)

Related Discord conversation: https://discord.com/channels/489818810157891584/489862989101662218/1083456989394387065

@duncanmcclean duncanmcclean merged commit 4bb7d83 into main Mar 9, 2023
@duncanmcclean duncanmcclean deleted the bugfix/check-model-data-is-an-array branch March 9, 2023 18:54
@github-actions
Copy link

github-actions bot commented Mar 9, 2023

Released as part of v4.5.8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant