summaryrefslogtreecommitdiffstats
path: root/lib/private/App
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2021-05-25 09:33:20 -0100
committerMaxence Lange <maxence@artificial-owl.com>2021-05-25 09:33:20 -0100
commit65649468f3d386710a44ee4045dc8fc3b49de40d (patch)
tree1724fe50a70c93d95af5b2c265621255b1aa9e7b /lib/private/App
parent259e75568c78105ced48b028bbd8caef7bd471be (diff)
downloadnextcloud-server-65649468f3d386710a44ee4045dc8fc3b49de40d.tar.gz
nextcloud-server-65649468f3d386710a44ee4045dc8fc3b49de40d.zip
force 'name' key in array
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib/private/App')
-rw-r--r--lib/private/App/AppManager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/App/AppManager.php b/lib/private/App/AppManager.php
index a00a93aa847..aae9face160 100644
--- a/lib/private/App/AppManager.php
+++ b/lib/private/App/AppManager.php
@@ -536,7 +536,7 @@ class AppManager implements IAppManager {
foreach ($apps as $appId) {
$info = $this->getAppInfo($appId);
if ($info === null) {
- $incompatibleApps[] = ['id' => $appId];
+ $incompatibleApps[] = ['id' => $appId, 'name' => $appId];
} elseif (!\OC_App::isAppCompatible($version, $info)) {
$incompatibleApps[] = $info;
}