Skip to content
Snippets Groups Projects
Commit 9be8cb6f 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/+/75284


Reviewed-by: default avatarOliver Hader <oliver.hader@typo3.org>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent f72ed785
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