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

[Backport 12.4] [TASK] Remove wrong default for type file allowed #917

Merged
merged 1 commit into from
Jan 18, 2024

Conversation

github-actions[bot]
Copy link
Contributor

Backport #916
Authored by: @nhovratov

This is not documented anywhere and didn't work as well when testing.
The code for this is:

if (!empty(($allowed = ($fieldConfig['config']['allowed'] ?? null)))) {
    $fieldConfig['config']['allowed'] = self::prepareFileExtensions($allowed);
}

Releases: main, 12.4
@brotkrueml brotkrueml merged commit 42c3bf5 into 12.4 Jan 18, 2024
@brotkrueml brotkrueml deleted the backport-916-to-12.4 branch January 18, 2024 06:36
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.

2 participants