[BUGFIX] Force string casting of $parserList 41/50841/2
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Thu, 1 Dec 2016 19:05:41 +0000 (20:05 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Thu, 1 Dec 2016 20:54:47 +0000 (21:54 +0100)
commita1133ac0c1f57c76bde98e6189997fe10fdad245
tree3602348bba07ce7dbd585fdc4947ec6e49845fb1
parent5597dd6f67c5e520971188bf6c6ac79f1bfb45e3
[BUGFIX] Force string casting of $parserList

The method `BackendUtility::explodeSoftRefParserList()` checks whether
`$parserList` is an empty string. This check may fail, as the variable may
be null instead. `$parserList` is now casted to a string, which converts
null to an empty string.

Resolves: #78858
Releases: master, 7.6
Change-Id: Ia833fd64f3349c5856a879e917bb3cd6f581caa0
Reviewed-on: https://review.typo3.org/50841
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/backend/Classes/Utility/BackendUtility.php