[TASK] Add a function to safely traverse arrays in TS conditions 08/61708/4
authorMarkus Klein <markus.klein@typo3.org>
Sat, 14 Sep 2019 21:40:56 +0000 (23:40 +0200)
committerDaniel Goerz <daniel.goerz@posteo.de>
Sun, 12 Jan 2020 18:22:28 +0000 (19:22 +0100)
commit84f059820b01de2427b437194448cbf10bc6a412
tree5e961d3da577084bd1ba290378bfc5ce263437c1
parent65990a5b0974565d7495cfa9d942fbb983f7461f
[TASK] Add a function to safely traverse arrays in TS conditions

Example:
[traverse(request.getQueryParams(), 'tx_news_pi/news') > 0]

Resolves: #89176
Releases: master, 9.5
Change-Id: Ic589f68382951c203afa5ad6a7bc16fbddbc20b2
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/61708
Tested-by: Susanne Moog <look@susi.dev>
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Daniel Goerz <daniel.goerz@posteo.de>
Reviewed-by: Susanne Moog <look@susi.dev>
Reviewed-by: Daniel Goerz <daniel.goerz@posteo.de>
typo3/sysext/core/Classes/ExpressionLanguage/FunctionsProvider/DefaultFunctionsProvider.php
typo3/sysext/core/Documentation/Changelog/9.4/Feature-85829-ImplementSymfonyExpressionLanguageForTypoScriptConditions.rst