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

[BUGFIX] Return buttons if page is not callable #374

Merged
merged 1 commit into from
Nov 20, 2024

Commits on Nov 20, 2024

  1. [BUGFIX] Return buttons if page is not callable

    The ButtonBarHook seems to be called on root (pid=0) or other possible
    constellations, too. In these cases (and some other) the BackendUtility
    can't return avalid page record and returns null instead. Following up
    code didn't check, if a valid page record was loaded from the database,
    which lead to errors. WIth this commit, a check on a `$page === null`
    and hardening on possible not set array keys is added avoiding this issue
    calien666 committed Nov 20, 2024
    Configuration menu
    Copy the full SHA
    2ef7f75 View commit details
    Browse the repository at this point in the history