summaryrefslogtreecommitdiffstats
path: root/apps/theming/lib
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-11-19 14:02:03 +0100
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2021-11-19 14:08:55 +0000
commit098cf1f9aa5a36457d0b3383b6e3588912e427b0 (patch)
tree95726e0d1ba01a59585968be1d0c0ec86d5edbb4 /apps/theming/lib
parentd9e25f5f3248bc48e81c5f6101ba2dfb09478504 (diff)
downloadnextcloud-server-098cf1f9aa5a36457d0b3383b6e3588912e427b0.tar.gz
nextcloud-server-098cf1f9aa5a36457d0b3383b6e3588912e427b0.zip
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 <coding@schilljs.com>
Diffstat (limited to 'apps/theming/lib')
-rw-r--r--apps/theming/lib/Controller/ThemingController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/theming/lib/Controller/ThemingController.php b/apps/theming/lib/Controller/ThemingController.php
index 82cb15037ce..a735dfafc2c 100644
--- a/apps/theming/lib/Controller/ThemingController.php
+++ b/apps/theming/lib/Controller/ThemingController.php
@@ -389,7 +389,7 @@ class ThemingController extends Controller {
} else {
$startUrl = $this->urlGenerator->getBaseUrl() . '/apps/' . $app . '/';
}
- $description = $info['summary'];
+ $description = $info['summary'] ?? '';
}
$responseJS = [
'name' => $name,