[BUGFIX] Fix behavior of revExplode if delimiter not found 24/27524/3
authorAlexander Stehlik <alexander.stehlik@googlemail.com>
Mon, 10 Feb 2014 12:51:48 +0000 (13:51 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 10 Feb 2014 20:41:11 +0000 (21:41 +0100)
commitdda0354d615ed247cae4108cbf638c6c5308f29c
tree87a5412fadc0475909baae96ab3ea50842685255
parent2d05837d4a9865aff3dc67fc5d78ec008eb8f063
[BUGFIX] Fix behavior of revExplode if delimiter not found

If the given delimiter is not found in the given string
GeneralUtility::revExplode() will return an array with a single element
containing the unexploded string.

Resolves: #55838
Releases: 6.2
Change-Id: I1146552a625a8057be86b2745febf808638a290c
Reviewed-on: https://review.typo3.org/27524
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/core/Classes/Utility/GeneralUtility.php
typo3/sysext/core/Tests/Unit/Utility/GeneralUtilityTest.php