Skip to content
Commit 5f69e379 authored by Stefan Bürk's avatar Stefan Bürk Committed by Christian Kuhn
Browse files

[BUGFIX] Avoid E_DEPRECATED error calling trim(null) and explode(null)

TypoScriptTemplateInformationModuleFunctionController::main() calls
trim() and explode() with array values which may be null. Feeding null
for the string arguments of these functions emits a E_DEPRECATED
PHP 8.1 error. Sanitize calls.

Resolves: #95936
Releases: master
Change-Id: I03d9f5db9e0688c0de21db1305fce431804d1d26
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/72133


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 59d1fe6e
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