[BUGFIX] cObjRenderer->prefixComment() needs parameter validation 77/35977/2
authorPhilipp Gampe <philipp.gampe@typo3.org>
Mon, 12 Jan 2015 17:14:17 +0000 (18:14 +0100)
committerMarkus Klein <klein.t3@reelworx.at>
Mon, 12 Jan 2015 19:36:10 +0000 (20:36 +0100)
commit42b9b0fa3647222e779787cdf949d611a96d3a46
treeb77d011dc845acc67853887db500871e53a9b7cf
parentf6236e6a7fa07b47f532a4448b77b8204cc3cbb1
[BUGFIX] cObjRenderer->prefixComment() needs parameter validation

The method fails to validate the parameters leading to PHP notices
if the function is used incorrectly in TypoScript.

Resolves: #38969
Releases: master,6.2
Change-Id: If27d530cc70bb7ed4e9baa6f040b66ff2213223b
Reviewed-on: http://review.typo3.org/35977
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php