Skip to content
Snippets Groups Projects
Commit 43862291 authored by Stephan Großberndt's avatar Stephan Großberndt Committed by Benni Mack
Browse files

[BUGFIX] Allow integer keys in ArrayUtility::flatten()

Instead of breaking the execution with a TypeError if
an array to be flattened by ArrayUtility::flatten()
has integer keys, this change allows the method to
handle this case correctly.

Resolves: #101208
Related: #97202
Releases: main, 12.4
Change-Id: I05d47da80e088f024536fe15f5f2c2802c22a921
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/79569


Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
parent ff0acac3
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