Review 11.5 Merged

75495[BUGFIX] Prevent warning when FlexForm is empty in PHP8

Christian Kuhn CR +2 V +2 Easy +1 −1 updated 08/17/22, 09:14

Commit message

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.

Review

  • Code review CR +2 Done
    • Christian Kuhn +2
  • Verified V +2 Done
    • Christian Kuhn +2
    • core-ci +1 CI

Issues 1

Files 1

Review log 34

  1. Christian Kuhn commented on patch set 1 08/17/22, 09:01

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V +1 08/17/22, 09:11 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/30218

  3. Christian Kuhn voted on patch set 1 V +2 CR +2 08/17/22, 09:14

  4. Christian Kuhn merged patch set 2 08/17/22, 09:14