From faf18b5f02b2f560566965030d6ca97407d3445e Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Fri, 24 Jan 2020 12:50:06 +0100 Subject: apps can have polyamorous relationships with bundles Signed-off-by: Arthur Schiwon --- apps/settings/lib/Controller/AppSettingsController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/settings/lib/Controller/AppSettingsController.php') diff --git a/apps/settings/lib/Controller/AppSettingsController.php b/apps/settings/lib/Controller/AppSettingsController.php index 80ba23594a3..a49b57185c3 100644 --- a/apps/settings/lib/Controller/AppSettingsController.php +++ b/apps/settings/lib/Controller/AppSettingsController.php @@ -219,7 +219,7 @@ class AppSettingsController extends Controller { foreach($bundle->getAppIdentifiers() as $identifier) { foreach($this->allApps as &$app) { if($app['id'] === $identifier) { - $app['bundleId'] = $bundle->getIdentifier(); + $app['bundleIds'][] = $bundle->getIdentifier(); continue; } } -- cgit v1.2.3