Commit 444438b6 authored by Johannes Seipelt's avatar Johannes Seipelt Committed by Christian Kuhn
Browse files

[BUGFIX] Avoid undefined array key in inlineLocalizeSynchronize function of DataHandler

Resolves: #96415
Releases: main, 11.5
Change-Id: I4f96cd250b1f1ef27c7232b8fff3214cb555ab32
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/72841

Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
Tested-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarJohannes Seipelt <johannes.seipelt@3m5.de>
Reviewed-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 2a9dcee9
......@@ -4667,9 +4667,9 @@ class DataHandler implements LoggerAwareInterface
BackendUtility::workspaceOL($table, $parentRecord);
}
$field = $command['field'];
$language = $command['language'];
$action = $command['action'];
$field = $command['field'] ?? '';
$language = $command['language'] ?? 0;
$action = $command['action'] ?? '';
$ids = $command['ids'] ?? [];
if (!$field || !($action === 'localize' || $action === 'synchronize') && empty($ids) || !isset($GLOBALS['TCA'][$table]['columns'][$field]['config'])) {
......
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