Review main Merged

72058[BUGFIX] Fix undefined key warning in EXT:frontend with PHP8

Florian Rival CR +2 V +2 Easy +12 −7 updated 11/09/21, 18:47

Commit message

When using a text content element with a table inside bodytext,
you will have a PHP warning: Undefined array key "1." in
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php

This was only a notice with PHP v7 but it's an error with PHP v8.
This bugfix corrects the usage of undefined array keys.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 1