Compare commits

...

1 Commits

Author SHA1 Message Date
Maxence Lange 65649468f3 force 'name' key in array
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-05-25 09:33:20 -01:00
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;
} }