Skip to content
Snippets Groups Projects
Commit b39e527b authored by Christian Kuhn's avatar Christian Kuhn
Browse files

[BUGFIX] DataHandler chokes with PHP 8 and ctrl fields

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.

Resolves: #98018
Releases: main, 11.5
Change-Id: Ia3e94ac65feede4668fd1247cd29562f3215f328
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/75283


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 0120c744
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