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>
This commit is contained in:
Joas Schilling 2021-11-19 14:02:03 +01:00 committed by backportbot[bot]
parent ab83f3ab0f
commit aea8e78fa5

View file

@ -386,7 +386,7 @@ class ThemingController extends Controller {
} else {
$startUrl = $this->urlGenerator->getBaseUrl() . '/apps/' . $app . '/';
}
$description = $info['summary'];
$description = $info['summary'] ?? '';
}
$responseJS = [
'name' => $name,