Skip to content

Commit

Permalink
[BUGFIX] Don't assign undefined variable to template of Dashboard
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Richard Haeser authored and bmack committed Feb 20, 2020
1 parent 3ac9679 commit 17534d8
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,6 @@ protected function initializeDashboardsForCurrentUser(): void
public function mainAction(): void
{
$this->view->assignMultiple([
'settings' => $this->settings,
'availableDashboards' => $this->dashboardsForCurrentUser,
'dashboardPresets' => $this->availableDashboardPresets,
'widgetGroups' => $this->buildWidgetGroupsConfiguration(),
Expand Down

0 comments on commit 17534d8

Please sign in to comment.