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

Oliver Hader oh at inpublica.de
Wed Mar 28 16:02:09 CEST 2007


Committed to SVN - Trunk & TYPO3_4-1


Oliver Hader wrote:
> This is a SVN patch request.
> 
> 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.
> 
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=5288
> 
> Branches: Trunk & TYPO3-4_1
-- 
Oliver Hader
http://inpublica.de/


More information about the TYPO3-team-core mailing list