Skip to content
Snippets Groups Projects
Commit 65e294ed authored by Torben Hansen's avatar Torben Hansen Committed by Christian Kuhn
Browse files

[BUGFIX] Prevent warning when FlexForm is empty in PHP8

When a FlexForm has an empty data structure, a warning is thrown
in PHP8, because it is not checked in FlexFormNoTabsContainer if
the resolved sheet name actually exists as key in the
flexFormRowData array.

This patch uses the null coalescing operator to fix the problem.

Resolves: #98147
Releases: main, 11.5
Change-Id: Ie4bde3af79a9a473cc02aff9f1ec299fff1bc259
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/75495


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 679b3598
Branches
Tags
No related merge requests found
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