diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2022-04-28 11:04:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-28 11:04:43 +0200 |
commit | a50b4caafdad17ac7d70651d896893cd3ec014d7 (patch) | |
tree | 6004ac06373e79c3b35c66341a65ab7e9921ccac /lib | |
parent | 9a832df62f14a3301ec76fe043ee2cd9c7d7f5b2 (diff) | |
parent | 05d743570a501d3fdeb2dc315800efe9defbf7a9 (diff) | |
download | nextcloud-server-a50b4caafdad17ac7d70651d896893cd3ec014d7.tar.gz nextcloud-server-a50b4caafdad17ac7d70651d896893cd3ec014d7.zip |
Merge pull request #32202 from nextcloud/fix/layout-theme-array
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/TemplateLayout.php | 1 |
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); |