[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 14:10:29 CEST 2007
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
olly
--
Oliver Hader
http://inpublica.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005288.patch
Type: text/x-diff
Size: 1539 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20070328/1e0e5d3f/attachment.bin
More information about the TYPO3-team-core
mailing list