[BUGFIX] Fix error mode handling for lang file inclusion 88/35788/2
authorMarkus Klein <klein.t3@reelworx.at>
Mon, 5 Jan 2015 13:33:33 +0000 (14:33 +0100)
committerMarkus Klein <klein.t3@reelworx.at>
Mon, 5 Jan 2015 13:46:34 +0000 (14:46 +0100)
Releases: master, 6.2
Resolves: #64126
Change-Id: I985cf10a97b742bc5f3357d3822aaa5256ff86e7
Reviewed-on: http://review.typo3.org/35788
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/core/Classes/Page/PageRenderer.php

index b257929..f875a00 100644 (file)
@@ -2223,7 +2223,7 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface {
                }
                if (count($this->inlineLanguageLabelFiles)) {
                        foreach ($this->inlineLanguageLabelFiles as $languageLabelFile) {
-                               $this->includeLanguageFileForInline($languageLabelFile['fileRef'], $languageLabelFile['selectionPrefix'], $languageLabelFile['stripFromSelectionName'], $languageLabelFile['$errorMode']);
+                               $this->includeLanguageFileForInline($languageLabelFile['fileRef'], $languageLabelFile['selectionPrefix'], $languageLabelFile['stripFromSelectionName'], $languageLabelFile['errorMode']);
                        }
                }
                $this->inlineLanguageLabelFiles = array();