From 17534d8fbaf822eee90a1c2c796053a2a7623aec Mon Sep 17 00:00:00 2001 From: Richard Haeser <richard@maxserv.com> Date: Thu, 20 Feb 2020 21:42:16 +0100 Subject: [PATCH] [BUGFIX] Don't assign undefined variable to template of Dashboard As $this->settings is not defined, it should not be passed to the Fluid template of the DashboardController. Resolves: #90453 Releases: master Change-Id: Idc946da7d293311215c2bf318dc6959e5f6f080f Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63337 Tested-by: Daniel Siepmann <coding@daniel-siepmann.de> Tested-by: Benni Mack <benni@typo3.org> Reviewed-by: Daniel Siepmann <coding@daniel-siepmann.de> Reviewed-by: Koen Wouters <koen.wouters@maxserv.com> Reviewed-by: Benni Mack <benni@typo3.org> --- .../sysext/dashboard/Classes/Controller/DashboardController.php | 1 - 1 file changed, 1 deletion(-) diff --git a/typo3/sysext/dashboard/Classes/Controller/DashboardController.php b/typo3/sysext/dashboard/Classes/Controller/DashboardController.php index 7a16a188d1cf..b7bbc131e5f7 100644 --- a/typo3/sysext/dashboard/Classes/Controller/DashboardController.php +++ b/typo3/sysext/dashboard/Classes/Controller/DashboardController.php @@ -173,7 +173,6 @@ class DashboardController extends AbstractController public function mainAction(): void { $this->view->assignMultiple([ - 'settings' => $this->settings, 'availableDashboards' => $this->dashboardsForCurrentUser, 'dashboardPresets' => $this->availableDashboardPresets, 'widgetGroups' => $this->buildWidgetGroupsConfiguration(), -- GitLab