[BUGFIX] Ensure argument is an array in ContentObjectRenderer 42/33242/9
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:57:43 +0000 (14:57 +0200)
commit0d8a88534d6d8db442dcce7656bd37addbdd3af9
tree7899fa446deba087ddd200ee7197b4eeb4639604
parentf0bab1937149c3984c7ffd6394395a5481cad2ee
[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/33242
Reviewed-by: Stefan Froemken <froemken@gmail.com>
Tested-by: Stefan Froemken <froemken@gmail.com>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php