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

[stable30] fix(app-store): Ensure the groups property is always an array #48866

Merged
merged 1 commit into from
Oct 23, 2024

Conversation

backportbot[bot]
Copy link

@backportbot backportbot bot commented Oct 23, 2024

Backport of PR #48853

If the value was a string, like a single group, then `json_decode` will also yield only a string.
So in this case we ensure the property is always an array with that value.

Signed-off-by: Ferdinand Thiessen <[email protected]>
@backportbot backportbot bot added bug 3. to review Waiting for reviews feature: apps management php Pull requests that update Php code labels Oct 23, 2024
@backportbot backportbot bot added this to the Nextcloud 30.0.2 milestone Oct 23, 2024
@susnux susnux merged commit 7b2a614 into stable30 Oct 23, 2024
171 checks passed
@susnux susnux deleted the backport/48853/stable30 branch October 23, 2024 17:08
@Altahrim Altahrim mentioned this pull request Oct 30, 2024
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug feature: apps management php Pull requests that update Php code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants