Skip to content

[5.x] Fix ensured author field when sidebar has empty section #11747

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

Open
wants to merge 1 commit into
base: 5.x
Choose a base branch
from

Conversation

duncanmcclean
Copy link
Member

This pull request fixes an issue with the author permissions feature when it attempts to ensure the author field in the sidebar.

If the sidebar contained an empty section (eg. without any fields), it would cause an Undefined array key "fields" error.

Fixes #11728.

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.

Error 500 when creating an entry
1 participant