[BUGFIX] Handle empty pid list in FrontendConfigurationManager 21/45421/2
authorMarkus Klein <markus.klein@typo3.org>
Wed, 23 Dec 2015 12:46:44 +0000 (13:46 +0100)
committerBenni Mack <benni@typo3.org>
Wed, 23 Dec 2015 20:25:58 +0000 (21:25 +0100)
commitee9971429a0e303f4b5a607d3233b08b77f515dc
tree578aab32eba78d79b45b895afd72aacc54bbb8e5
parent74ad4915abad9f80fe0fb5a54ad5801d47868012
[BUGFIX] Handle empty pid list in FrontendConfigurationManager

The result of getTreeList() called in overrideStoragePidIfStartingPointIsSet()
may be an empty string, which is appended to the $list array.
Empty values should not be added to the array, since it will cause an invalid
list of pages later on.

Add a check to avoid empty values in $list.

Resolves: #72414
Releases: master, 7.6
Change-Id: Id1309a44f46dcd84ab9923da1be6873bdc38cb8d
Reviewed-on: https://review.typo3.org/45421
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/extbase/Classes/Configuration/FrontendConfigurationManager.php