Commit 75a6ad71 authored by Torben Hansen's avatar Torben Hansen Committed by Oliver Bartsch
Browse files

[BUGFIX] Fix undefined array warning for indexed_search

Fix PHP8 undefined array key in indexed_search when
typoscript configuration is not included.

Resolves: #94631
Releases: master
Change-Id: If068c5a1b5bc0d1962b922312adf2bf2efc05e50

Tested-by: core-ci's avatarcore-ci <>
Tested-by: Anja Leichsenring's avatarAnja Leichsenring <>
Tested-by: Oliver Bartsch's avatarOliver Bartsch <>
Reviewed-by: Anja Leichsenring's avatarAnja Leichsenring <>
Reviewed-by: Oliver Klee's avatarOliver Klee <>
Reviewed-by: Oliver Bartsch's avatarOliver Bartsch <>
parent 0893b693
......@@ -40,7 +40,7 @@ class TypoScriptFrontendHook
public function indexPageContent(array $parameters, TypoScriptFrontendController $tsfe)
// Determine if page should be indexed, and if so, configure and initialize indexer
if (!$tsfe->config['config']['index_enable']) {
if (!($tsfe->config['config']['index_enable'] ?? false)) {
Supports Markdown
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