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: handle null posts array in AbstractController #796

Merged
merged 1 commit into from
Jan 28, 2025

Conversation

thorbrink
Copy link
Contributor

@thorbrink thorbrink commented Jan 28, 2025

This pull request includes a small change to the source/php/Module/Posts/TemplateController/AbstractController.php file. The change ensures that the preparePosts function handles a null value for the $posts parameter by providing a default empty array.

@thorbrink thorbrink merged commit 5b63ecd into main Jan 28, 2025
5 checks passed
@thorbrink thorbrink deleted the fix/post-module-empty-posts branch January 28, 2025 09:51
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.

1 participant