diff options
author | Joas Schilling <coding@schilljs.com> | 2021-11-19 14:02:03 +0100 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2021-11-19 14:08:55 +0000 |
commit | 098cf1f9aa5a36457d0b3383b6e3588912e427b0 (patch) | |
tree | 95726e0d1ba01a59585968be1d0c0ec86d5edbb4 /apps/theming/lib | |
parent | d9e25f5f3248bc48e81c5f6101ba2dfb09478504 (diff) | |
download | nextcloud-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.php | 2 |
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, |