Skip to content

Commit 050661e

Browse files
committed
fix(appmanager): ignore null appinfo
\n\nSigned-off-by: Maxence Lange <maxence@artificial-owl.com>
1 parent 7268525 commit 050661e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/private/App/AppManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -920,7 +920,7 @@ public function setDefaultApps(array $defaultApps): void {
920920

921921
public function isBackendRequired(string $backend): bool {
922922
foreach ($this->appInfos as $appInfo) {
923-
foreach ($appInfo['dependencies']['backend'] as $appBackend) {
923+
foreach ($appInfo['dependencies']['backend'] ?? [] as $appBackend) {
924924
if ($backend === $appBackend) {
925925
return true;
926926
}

0 commit comments

Comments
 (0)