[BUGFIX] Ensure argument is an array in ContentObjectRenderer 63/33263/2
authorkaystrobach <typo3@kay-strobach.de>
Fri, 10 Oct 2014 06:49:50 +0000 (08:49 +0200)
committerMarkus Klein <klein.t3@reelworx.at>
Sat, 11 Oct 2014 12:58:04 +0000 (14:58 +0200)
commitd978d51b73b6ece97237630b6615e7bd8953070e
treeb91a786533d943b487b85cae8c0b27d7891d46ca
parent8f647046d7bfef1a68f2d52f01e9bcd582a71682
[BUGFIX] Ensure argument is an array in ContentObjectRenderer

This patch ensures that at least an empty array is passed to the
array_replace_recursive function to avoid warnings during rendering.

Inspired by Markus Klein

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