Skip to content
Snippets Groups Projects
Commit f07e684a authored by Oliver Bartsch's avatar Oliver Bartsch
Browse files

[BUGFIX] Use correct fallback for default page TSconfig

The value of a TSconfig entry in the $TSdata array, forwarded
to the ModifyLoadedPageTsConfigEvent, has to be a string.

Therefore the fallback must be a string, too. Otherwise it would
make it unnecessary hard for extension authors to extend the
default TSconfig using the mentioned event as they have to
check for the actual type first.

Resolves: #94718
Releases: master, 10.4
Change-Id: I023a389e79c01bceb427431d15da16d0b2089b0f
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70209


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarAchim Fritz <af@achimfritz.de>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
parent 5dc53c73
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