From a0a7ca3c9c79ad6495b51a33b7674c398ba62871 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Tue, 25 Jun 2024 22:28:36 +0200 Subject: [PATCH] Fixed exception on SystemInfo page --- src/Controller/ToolsController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Controller/ToolsController.php b/src/Controller/ToolsController.php index a1bf320a..97df8d15 100644 --- a/src/Controller/ToolsController.php +++ b/src/Controller/ToolsController.php @@ -59,7 +59,7 @@ class ToolsController extends AbstractController 'default_locale' => $this->getParameter('partdb.locale'), 'default_timezone' => $this->getParameter('partdb.timezone'), 'default_currency' => $this->getParameter('partdb.default_currency'), - 'default_theme' => $this->getParameter('partdb.global_theme'), + 'default_theme' => $settings->system->customization->theme, 'enabled_locales' => $this->getParameter('partdb.locale_menu'), 'demo_mode' => $this->getParameter('partdb.demo_mode'), 'gpdr_compliance' => $this->getParameter('partdb.gdpr_compliance'),