Skip to content

Commit

Permalink
[BUGFIX] Avoid undef array key in TcaRecordTitle
Browse files Browse the repository at this point in the history
Resolves: #99582
Releases: main, 11.5
Change-Id: Ib7a0f546f025eed37bac6b494f29865494841787
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/77430
Reviewed-by: Nikita Hovratov <nikita.h@live.de>
Reviewed-by: Oliver Bartsch <bo@cedev.de>
Tested-by: Nikita Hovratov <nikita.h@live.de>
Tested-by: Oliver Bartsch <bo@cedev.de>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Tested-by: core-ci <typo3@b13.com>
  • Loading branch information
lolli42 authored and nhovratov committed Jan 17, 2023
1 parent 789a9ad commit 4cc434a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ protected function getRecordTitleForField($fieldName, $result)
case 'inline':
$recordTitle = $this->getRecordTitleForInlineType(
$rawValue,
$result['processedTca']['columns'][$fieldName]['children']
$result['processedTca']['columns'][$fieldName]['children'] ?? []
);
break;
case 'select':
Expand Down

0 comments on commit 4cc434a

Please sign in to comment.