Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-11-19 16:02:03 +0300
committerJoas Schilling <coding@schilljs.com>2021-11-19 16:02:03 +0300
commit615a8e60ba5efce69f6e3506ab6af05f6cc88d13 (patch)
treef78317f503c1413a8de1f34c6bf00fe9dbfc9ab5 /apps/theming
parentc35ad0c20d420c3056565c6bad21133dc035b2df (diff)
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')
-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,