[BUGFIX] Initialize pObj before usage 91/58091/2
authorSusanne Moog <susanne.moog@typo3.org>
Thu, 30 Aug 2018 16:31:57 +0000 (18:31 +0200)
committerBenni Mack <benni@typo3.org>
Thu, 30 Aug 2018 17:05:34 +0000 (19:05 +0200)
The parent::init call was removed in a code cleanup and
has been re-added as it is necessary for initialization.

Resolves: #86043
Releases: master
Change-Id: Ic0f5d9de30f6a83385850375d5f381cac5f5f941
Reviewed-on: https://review.typo3.org/58091
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/tstemplate/Classes/Controller/TemplateAnalyzerModuleFunctionController.php

index 5a6fd8f..f5041ac 100644 (file)
@@ -54,6 +54,7 @@ class TemplateAnalyzerModuleFunctionController extends AbstractFunctionModule
      */
     public function init($pObj)
     {
+        parent::init($pObj);
         $this->localLanguageFilePath = 'EXT:tstemplate/Resources/Private/Language/locallang_analyzer.xlf';
         $this->pObj->modMenu_setDefaultList .= ',ts_analyzer_checkLinenum,ts_analyzer_checkSyntax';
     }