Skip to content
Snippets Groups Projects
Commit e2eaa02e authored by Oliver Bartsch's avatar Oliver Bartsch Committed by Benni Mack
Browse files

[BUGFIX] Prevent type errors in ExportController

In case an export is created based on e.g.
an invalid preset, no PHP TypeError should
be occure.

This is now fixed by properly typecasting
the input data.

Additionally, two possible undefined array
key access warnings are fixed.

Resolves: #97403
Releases: main, 11.5
Change-Id: I994391909b44247879099ce92d61911c56ca7e39
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78723


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarJochen <rothjochen@gmail.com>
Reviewed-by: default avatarJochen <rothjochen@gmail.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
parent beb6ba83
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