Skip to content

Commit

Permalink
[BUGFIX] Check array key existence in TSFE
Browse files Browse the repository at this point in the history
Resolves: #101452
Releases: main, 12.4, 11.5
Change-Id: Idf803dff6b4941380dbdde30f53548d31b6df575
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/80141
Tested-by: Stefan B�rk <stefan@buerk.tech>
Reviewed-by: Stefan B�rk <stefan@buerk.tech>
Tested-by: core-ci <typo3@b13.com>
  • Loading branch information
liayn authored and sbuerk committed Jul 26, 2023
1 parent 37183d3 commit 9459389
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -2274,7 +2274,7 @@ protected function processNonCacheableContentPartsAndSubstituteContentMarkers(ar
// If the split had a comment-end after 32 characters it's probably a split-string
if (substr($contentPart, 32, 3) === '-->') {
$nonCacheableKey = 'INT_SCRIPT.' . substr($contentPart, 0, 32);
if (is_array($nonCacheableData[$nonCacheableKey])) {
if (is_array($nonCacheableData[$nonCacheableKey] ?? false)) {
$label = 'Include ' . $nonCacheableData[$nonCacheableKey]['type'];
$timeTracker->push($label);
$nonCacheableContent = '';
Expand Down

0 comments on commit 9459389

Please sign in to comment.