Skip to content

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

Merged
susnux merged 1 commit into
stable30from
backport/48853/stable30
Oct 23, 2024
Merged

[stable30] fix(app-store): Ensure the groups property is always an array#48866
susnux merged 1 commit into
stable30from
backport/48853/stable30

Conversation

@backportbot

Copy link
Copy Markdown

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 <opensource@fthiessen.de>
@backportbotbackportbotBot added bug 3. to review Waiting for reviews feature: apps management php Pull requests that update Php code labels Oct 23, 2024
@backportbotbackportbotBot added this to the Nextcloud 30.0.2 milestone Oct 23, 2024
@susnux
susnux merged commit 7b2a614 into stable30Oct 23, 2024
@susnux
susnux deleted the backport/48853/stable30 branch October 23, 2024 17:08
@AltahrimAltahrim mentioned this pull request Oct 30, 2024
2 tasks
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviewsbugfeature: apps managementphpPull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@susnux@provokateurin