From 615a8e60ba5efce69f6e3506ab6af05f6cc88d13 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 19 Nov 2021 14:02:03 +0100 Subject: [PATCH] App summary is optional Fixing: Error: Undefined index: summary at /var/www/html/apps/theming/lib/Controller/ThemingController.php#392 Signed-off-by: Joas Schilling --- apps/theming/lib/Controller/ThemingController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/theming/lib/Controller/ThemingController.php b/apps/theming/lib/Controller/ThemingController.php index 82cb15037ceaf..a735dfafc2ce8 100644 --- a/apps/theming/lib/Controller/ThemingController.php +++ b/apps/theming/lib/Controller/ThemingController.php @@ -389,7 +389,7 @@ public function getManifest($app) { } else { $startUrl = $this->urlGenerator->getBaseUrl() . '/apps/' . $app . '/'; } - $description = $info['summary']; + $description = $info['summary'] ?? ''; } $responseJS = [ 'name' => $name,