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

Regression: Allow help links to be disabled in user code #1536

Closed
nathanbrauer opened this issue Jul 21, 2023 · 1 comment
Closed

Regression: Allow help links to be disabled in user code #1536

nathanbrauer opened this issue Jul 21, 2023 · 1 comment

Comments

@nathanbrauer
Copy link

nathanbrauer commented Jul 21, 2023

As requested in silverstripe/silverstripe-cms#1020, #156 added the ability to disable the help_link.

In the upgrade from help_link to help_links, #615 seems to have inadvertently removed this.

The following are expected to work, but now result in [Warning] foreach() argument must be of type array|object, bool given:

SilverStripe\Admin\LeftAndMain:
  help_links: false
SilverStripe\Admin\LeftAndMain:
  help_links: null

For good measure, I did try the following and it is not effective:

SilverStripe\Admin\LeftAndMain:
  help_links: []

PRs

@GuySartorelli
Copy link
Member

PR merged

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

No branches or pull requests

3 participants