summaryrefslogtreecommitdiffstats
path: root/apps/settings/lib
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2020-01-24 12:50:06 +0100
committerArthur Schiwon <blizzz@arthur-schiwon.de>2020-01-24 12:50:06 +0100
commitfaf18b5f02b2f560566965030d6ca97407d3445e (patch)
treee65b19391b7b5ca5e8bafa509d8b9ad3f112fa31 /apps/settings/lib
parent2f27f122e167f27f1b09c3a4c9b70754ab953e88 (diff)
downloadnextcloud-server-faf18b5f02b2f560566965030d6ca97407d3445e.tar.gz
nextcloud-server-faf18b5f02b2f560566965030d6ca97407d3445e.zip
apps can have polyamorous relationships with bundles
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/settings/lib')
-rw-r--r--apps/settings/lib/Controller/AppSettingsController.php2
1 files changed, 1 insertions, 1 deletions
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;
}
}