Skip to content
Snippets Groups Projects
Verified Commit 4f1a5e41 authored by Kevin Ditscheid's avatar Kevin Ditscheid
Browse files

[TASK] Fix issue with a missing content_replacer TS

parent 60111b7f
No related branches found
No related tags found
No related merge requests found
......@@ -172,7 +172,7 @@ class ContentReplacerMiddleware implements MiddlewareInterface {
$GLOBALS['TSFE']->tmpl->start($GLOBALS['TSFE']->rootLine);
}
$typoscriptConfiguration = $GLOBALS['TSFE']->tmpl->setup['plugin.']['tx_content_replacer.'];
$typoscriptConfiguration = $GLOBALS['TSFE']->tmpl->setup['plugin.']['tx_content_replacer.'] ?? [];
if (is_array($typoscriptConfiguration)) {
foreach ($typoscriptConfiguration as $key => $value) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment