[BUGFIX] cObjRenderer->prefixComment() needs parameter validation 73/35973/4
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:35:37 +0000 (20:35 +0100)
commit6128285a83c31f9cbce940eeda9cd868ad0c09da
treec775755332968bebbf78cfda07dc83efe7c57aac
parent174f1ced97447513c78b0b4b1f53b7a792d9d50f
[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/35973
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php