Skip to content

Commit

Permalink
Merge pull request #27098 from nextcloud/fix/noid/missing-key-in-addInfo
Browse files Browse the repository at this point in the history
force 'name' key in array
  • Loading branch information
skjnldsv authored Jun 16, 2021
2 parents 4c93249 + 6564946 commit c04e0d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/App/AppManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ public function getIncompatibleApps(string $version): array {
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;
}
Expand Down

0 comments on commit c04e0d1

Please sign in to comment.