force 'name' key in array

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
This commit is contained in:
Maxence Lange 2021-05-25 09:33:20 -01:00
parent 259e75568c
commit 65649468f3
1 changed files with 1 additions and 1 deletions

View File

@ -536,7 +536,7 @@ class AppManager implements IAppManager {
foreach ($apps as $appId) { foreach ($apps as $appId) {
$info = $this->getAppInfo($appId); $info = $this->getAppInfo($appId);
if ($info === null) { if ($info === null) {
$incompatibleApps[] = ['id' => $appId]; $incompatibleApps[] = ['id' => $appId, 'name' => $appId];
} elseif (!\OC_App::isAppCompatible($version, $info)) { } elseif (!\OC_App::isAppCompatible($version, $info)) {
$incompatibleApps[] = $info; $incompatibleApps[] = $info;
} }