Skip to content
Snippets Groups Projects
Commit 368326d8 authored by Chris Müller's avatar Chris Müller Committed by Anja Leichsenring
Browse files

[BUGFIX] Avoid undefined array key "enableMetaphoneSearch"

Resolves: #100883
Releases: main, 12.4, 11.5
Change-Id: I89f566a1bdf45f214a175cd389ef143c6334cda3
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/79056


Tested-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
parent 41e4ac11
Branches
Tags
No related merge requests found
......@@ -148,7 +148,7 @@ class AdministrationController extends ActionController
{
$this->pageUid = (int)($this->request->getQueryParams()['id'] ?? 0);
$this->indexerConfig = GeneralUtility::makeInstance(ExtensionConfiguration::class)->get('indexed_search');
$this->enableMetaphoneSearch = (bool)$this->indexerConfig['enableMetaphoneSearch'];
$this->enableMetaphoneSearch = (bool)($this->indexerConfig['enableMetaphoneSearch'] ?? false);
parent::initializeAction();
}
......
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