Merge pull request #27098 from nextcloud/fix/noid/missing-key-in-addInfo

force 'name' key in array
pull/27534/head
John Molakvoæ 2021-06-16 17:13:45 +07:00 committed by GitHub
commit c04e0d1db9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

@ -535,7 +535,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;
}