Skip to content
Snippets Groups Projects
Commit c1e52b9e authored by Jigal van Hemert's avatar Jigal van Hemert Committed by Benni Mack
Browse files

[BUGFIX] Add rowSum to runThroughTemplatesPostProcessing hook parameters

If the hook is used to add TypoScript, information must also be
added to the rowSum array in order to generate correct cache keys.

Resolves: #93597
Releases: master, 10.4
Change-Id: I9d543872206333d02b8eb6b5cdd90a53e6c6accb
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/68153


Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarBenni Mack <benni@typo3.org>
parent e712dc9e
Branches
Tags
No related merge requests found
......@@ -569,6 +569,7 @@ class TemplateService
'absoluteRootLine' => &$this->absoluteRootLine,
'rootLine' => &$this->rootLine,
'startTemplateUid' => $start_template_uid,
'rowSum' => &$this->rowSum,
];
foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['Core/TypoScript/TemplateService']['runThroughTemplatesPostProcessing'] ?? [] as $listener) {
GeneralUtility::callUserFunction($listener, $hookParameters, $this);
......
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