force 'name' key in array
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
This commit is contained in:
parent
259e75568c
commit
65649468f3
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue