[BUGFIX] Use strict type checking for in_array() calls in JsonView
If the JsonView traverses array with numeric indexes and an exclude configuration is set, the first array element is now handled correctly. The comparison of array index 0 with a string within in_array() yields TRUE, hence the first element was skipped. Resolves: #89510 Releases: master, 9.5, 8.7 Change-Id: I38561f7fc05dcefaf23f9178d5ba987591ffaf45 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62111 Reviewed-by:Oliver Klee <typo3-coding@oliverklee.de> Reviewed-by:
Florian Weiss <typo3org@leblanc.at> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Susanne Moog <look@susi.dev> Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Florian Weiss <typo3org@leblanc.at> Tested-by:
Susanne Moog <look@susi.dev>
Please register or sign in to comment