]> source.dussan.org Git - nextcloud-server.git/commit
fix(app-store): Ensure the `groups` property is always an array refactor/appstore-modernization
authorFerdinand Thiessen <opensource@fthiessen.de>
Wed, 23 Oct 2024 10:57:29 +0000 (12:57 +0200)
committerFerdinand Thiessen <opensource@fthiessen.de>
Wed, 23 Oct 2024 11:02:06 +0000 (13:02 +0200)
commitd9304d3a14f42f4ea01d9c783ef628b8656230e4
tree986171401787de98177a53d16f86686c34eabfda
parentea5b1b9591e976fe78558898ee05be76d25471e9
fix(app-store): Ensure the `groups` property is always an array

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>
apps/settings/lib/Controller/AppSettingsController.php