[BUGFIX] Correct condition in TemplateService 77/58277/3
authorChristian Kuhn <lolli@schwarzbu.ch>
Fri, 14 Sep 2018 12:22:38 +0000 (14:22 +0200)
committerMarkus Klein <markus.klein@typo3.org>
Fri, 14 Sep 2018 13:31:44 +0000 (15:31 +0200)
Issue #85092 introduced a copy & paste bug in TemplateService.

Resolves: #86255
Related: #85092
Releases: master
Change-Id: If0d92e0886e625db8793991f264628030ccfdad4
Reviewed-on: https://review.typo3.org/58277
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/core/Classes/TypoScript/TemplateService.php

index 500d9ef..19755c6 100644 (file)
@@ -792,9 +792,7 @@ class TemplateService
         }
         // Include files (from extensions) (#1/2)
         // NORMAL inclusion, The EXACT same code is found below the basedOn inclusion!!!
-        if (!isset($row['!$row[\'includeStaticAfterBasedOn\']']) ||
-            isset($row['includeStaticAfterBasedOn']) && !$row['includeStaticAfterBasedOn']
-        ) {
+        if (!isset($row['includeStaticAfterBasedOn']) || !$row['includeStaticAfterBasedOn']) {
             $this->includeStaticTypoScriptSources($idList, $templateID, $pid, $row);
         }
         // Include "Based On" sys_templates: