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

[BUGFIX] Properly handle array key access in ExtendedTemplateService

This fixes the ExtendedTemplateService->ext_getSetup()
method, which now properly handles array key accesses.

A new early return now also checks for an empty
key and returns the whole setup in this case.
This is a special case, needed for e.g. the
object browser, to still show the full setup
when object lists exist.

Resolves: #94971
Releases: master
Change-Id: I7b6615022ba59dc99929b05744c1cb33805098aa
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/71461


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarTymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: default avatarJochen <rothjochen@gmail.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarTymoteusz Motylewski <t.motylewski@gmail.com>
Reviewed-by: default avatarJochen <rothjochen@gmail.com>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
parent c9525155
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment