[TASK] Use better implementation for array check 88/35388/3
authorAnja Leichsenring <aleichsenring@ab-softlab.de>
Sat, 13 Dec 2014 14:47:17 +0000 (15:47 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 13 Dec 2014 19:06:12 +0000 (20:06 +0100)
commit555062a4454300972702b54964bd7c8efa03c8c2
tree24145aa99e9028edd7d03f5005392f517c95de98
parentb7ae6764041a6a00517cf9e23bf177bd92b7f1e4
[TASK] Use better implementation for array check

To suppress PHP warnings the input parameter must always be an array.
If there is nothing to merge, the array_merge_overrule function
must not be called at all.

Change-Id: Ice369449da22ff62c09efa919272195bd141e836
Resolves: #63827
Relates: #63701
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/35388
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php