[BUGFIX] Force string casting of $parserList 38/50838/3
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:22 +0000 (21:54 +0100)
commit7f919f5f047ba9622ce791558a5b9be9b0990cde
treeb6ddfc45b6b811ba22eccffdb8220ed79dae6880
parentde9c3b07db596538c29400e4f055c1a476540850
[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/50838
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/backend/Classes/Utility/BackendUtility.php