[TYPO3-core] RFC: Bug 5288: Missing parameter in recursion of t3lib_div::array_merge_recursive_overrule

Ernesto Baschny [cron IT] ernst at cron-it.de
Wed Mar 28 15:06:35 CEST 2007


Oliver Hader wrote: on 28.03.2007 14:10:

> Problem:
> The function t3lib_div::array_merge_recursive_overrule recursivly merges
> 2 arrays. The recursion however does not pass the optional 4th parameter
> so that using the function on a mutlidimensional array ignores the
> setting of $includeEmtpyValues. In this case $includeEmtpyValues is
> always true even if the method was initially called with
> $includeEmtpyValues set to false.
> 
> Solution:
> Use $includeEmtpyValues on recursive calls.
> 
> Comments:
> Thanks to Simon Tuck for providing a fix.


+1 also from me.

Cheers,
Ernesto


More information about the TYPO3-team-core mailing list