Review 11.5 Merged

75284[BUGFIX] DataHandler chokes with PHP 8 and ctrl fields

Christian Kuhn CR +2 V +2 Easy +3 −3 updated 07/25/22, 13:34

Commit message

Not setting

$GLOBALS['TCA']['myTable']['ctrl']['crdate'] or
$GLOBALS['TCA']['myTable']['ctrl']['cruser_id'] or
$GLOBALS['TCA']['myTable']['ctrl']['tstamp']

leads to rather obvious PHP 8 "Undefined array key"
warnings in DataHandler. Sanitize them.

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