Skip to content
Snippets Groups Projects
Commit b9306751 authored by Tomasz Woldański's avatar Tomasz Woldański Committed by Christian Kuhn
Browse files

[BUGFIX] Fix warning on array key updateReferenceIndex

Patch fixes warning on PHP 8.1 in extbase Backend class.

Resolves: #98149
Releases: main, 11.5
Change-Id: I6f32f67672332758cc02708d07481b93edb09b82
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/75474


Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent e1e36498
Branches
Tags
No related merge requests found
......@@ -808,7 +808,7 @@ class Backend implements BackendInterface, SingletonInterface
$this->eventDispatcher->dispatch(new EntityUpdatedInPersistenceEvent($object));
$frameworkConfiguration = $this->configurationManager->getConfiguration(ConfigurationManagerInterface::CONFIGURATION_TYPE_FRAMEWORK);
if ($frameworkConfiguration['persistence']['updateReferenceIndex'] === '1') {
if (($frameworkConfiguration['persistence']['updateReferenceIndex'] ?? '') === '1') {
$this->referenceIndex->updateRefIndexTable($dataMap->getTableName(), $row['uid']);
}
return true;
......
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