Skip to content
Snippets Groups Projects
Commit 375b7cb6 authored by Benjamin Mack's avatar Benjamin Mack Committed by Susanne Moog
Browse files

[BUGFIX] Make TypoScriptParser sortList more strict

When calling the := sortList() with a "numeric" modifier
of the TypoScript parser with a string, the sort() method
differs between PHP versions. In order to make this behaviour
more strict, a check is done before the elements are sorted
to only have numeric values in the list, otherwise an Exception
is now thrown.

As this changes behaviour, the test should be excluded for
PHP7 in 6.2, the behaviour cannot be modified in 6.2 without
possibly breaking the output of a Frontend site.

Resolves: #65317
Releases: master
Change-Id: Ife4f0de367398e6e5e35b6df9f1c0ea980597773
Reviewed-on: http://review.typo3.org/42112


Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarSusanne Moog <typo3@susannemoog.de>
Tested-by: default avatarSusanne Moog <typo3@susannemoog.de>
parent 8f499374
Branches
Tags
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