Skip to content

Commit

Permalink
[BUGFIX] Prevent undefined array key warnings in RequestHandler
Browse files Browse the repository at this point in the history
Resolves: #97767
Releases: main, 11.5
Change-Id: I1c874770ad1201e22a95d0af67e7caf4b09a8aa3
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/75198
Tested-by: core-ci <typo3@b13.com>
Tested-by: Jochen <rothjochen@gmail.com>
Tested-by: Nikita Hovratov <nikita.h@live.de>
Reviewed-by: Jochen <rothjochen@gmail.com>
Reviewed-by: Nikita Hovratov <nikita.h@live.de>
  • Loading branch information
o-ba authored and nhovratov committed Jul 16, 2022
1 parent 6b0ede2 commit 8a7b526
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typo3/sysext/frontend/Classes/Http/RequestHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ protected function generatePageContent(TypoScriptFrontendController $controller,
// Store the serialized AssetCollector state in configuration
$controller->config['INTincScript_ext']['assetCollectorState'] = serialize(GeneralUtility::makeInstance(AssetCollector::class)->getState());
// Render complete page, keep placeholders for JavaScript and CSS
return $pageRenderer->renderPageWithUncachedObjects($controller->config['INTincScript_ext']['divKey']);
return $pageRenderer->renderPageWithUncachedObjects($controller->config['INTincScript_ext']['divKey'] ?? '');
}
// Render complete page
return $pageRenderer->render();
Expand Down

0 comments on commit 8a7b526

Please sign in to comment.