Browse Source

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

force 'name' key in array
John Molakvoæ 2 years ago
parent
commit
c04e0d1db9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/private/App/AppManager.php

+ 1 - 1
lib/private/App/AppManager.php

@@ -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;
 			}