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

[5.x] Fix error with Files Fieldtype in Forms when no files are uploaded #10585

Merged

Conversation

duncanmcclean
Copy link
Member

This pull request fixes an issue when using the Files Fieldtype in Forms, where an error would occur when no files have been uploaded.

Closes #10575.

@jasonvarga jasonvarga merged commit 54285fe into 5.x Aug 7, 2024
18 checks passed
@jasonvarga jasonvarga deleted the fix/files-fieldtype-in-forms-when-no-files-are-uploaded branch August 7, 2024 18:48
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.

Forms: files field throws foreach() argument must be of type array|object, null given if no file selected
2 participants