Skip to content
Snippets Groups Projects
Commit ee997142 authored by Markus Klein's avatar Markus Klein Committed by Benni Mack
Browse files

[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: default avatarDaniel Goerz <ervaude@gmail.com>
Tested-by: default avatarDaniel Goerz <ervaude@gmail.com>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarBenni Mack <benni@typo3.org>
parent 74ad4915
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