From 3419d4e62862c1773eab2b2b59da73ca499ade2d Mon Sep 17 00:00:00 2001 From: Sascha Egerer <sascha@sascha-egerer.de> Date: Thu, 16 Feb 2017 22:34:50 +0100 Subject: [PATCH] [BUGFIX] Fix access to non existing object Fix a fatal error introduced in a previous refactoring of the code. Resolves: #79864 Releases: master Change-Id: Ib50052f2d7b3485da97fbe7a4ad88041bb676dad Reviewed-on: https://review.typo3.org/51724 Tested-by: TYPO3com <no-reply@typo3.com> Reviewed-by: Thomas Hohn <thomas@hohn.dk> Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch> Tested-by: Christian Kuhn <lolli@schwarzbu.ch> --- .../sysext/backend/Classes/Controller/PageLayoutController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typo3/sysext/backend/Classes/Controller/PageLayoutController.php b/typo3/sysext/backend/Classes/Controller/PageLayoutController.php index dcd9087010d5..124badb57458 100644 --- a/typo3/sysext/backend/Classes/Controller/PageLayoutController.php +++ b/typo3/sysext/backend/Classes/Controller/PageLayoutController.php @@ -1036,7 +1036,7 @@ class PageLayoutController // Add CSH (Context Sensitive Help) icon to tool bar $contextSensitiveHelpButton = $this->buttonBar->makeHelpButton() ->setModuleName($this->descrTable) - ->setFieldName('columns_' . $this->controller->MOD_SETTINGS['function']); + ->setFieldName('columns_' . $this->MOD_SETTINGS['function']); $this->buttonBar->addButton($contextSensitiveHelpButton); } $lang = $this->getLanguageService(); -- GitLab