Actions
Bug #98406
closedPHP Warning: Undefined array key X in AbstractItemProvider
Start date:
2022-09-22
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
11
PHP Version:
8.1
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
There are three some cases where keys are accessed without checking if they exist.
$rowFieldValue = $rowFieldValue[0]['uid'] ?? $rowFieldValue[0];
$label = $languageService->sL(trim($item[0]));
$value = strlen((string)$item[1]) > 0 ? $item[1] : '';
Actions