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
path: root/lib
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2022-04-28 12:04:43 +0300
committerGitHub <noreply@github.com>2022-04-28 12:04:43 +0300
commita50b4caafdad17ac7d70651d896893cd3ec014d7 (patch)
tree6004ac06373e79c3b35c66341a65ab7e9921ccac /lib
parent9a832df62f14a3301ec76fe043ee2cd9c7d7f5b2 (diff)
parent05d743570a501d3fdeb2dc315800efe9defbf7a9 (diff)
Merge pull request #32202 from nextcloud/fix/layout-theme-array
Diffstat (limited to 'lib')
-rw-r--r--lib/private/TemplateLayout.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/TemplateLayout.php b/lib/private/TemplateLayout.php
index e2ac89dafc4..a25e23e9fc6 100644
--- a/lib/private/TemplateLayout.php
+++ b/lib/private/TemplateLayout.php
@@ -107,6 +107,7 @@ class TemplateLayout extends \OC_Template {
Util::addScript('core', 'unified-search', 'core');
// Set body data-theme
+ $this->assign('enabledThemes', []);
if (\OC::$server->getAppManager()->isEnabledForUser('theming') && class_exists('\OCA\Theming\Service\ThemesService')) {
/** @var \OCA\Theming\Service\ThemesService */
$themesService = \OC::$server->get(\OCA\Theming\Service\ThemesService::class);