Commit 3419d4e6 authored by Sascha Egerer's avatar Sascha Egerer Committed by Christian Kuhn
Browse files

[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: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: default avatarThomas Hohn <thomas@hohn.dk>
Reviewed-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
parent f8f3de80
......@@ -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();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment