[TYPO3-core] RFC #14280: Bug: simple value cannot overwrite array value in "t3lib_div::array_merge_recursive_overrule"

Mikkel Ricky mikkel at mikkelricky.dk
Mon May 3 23:08:22 CEST 2010


This is an SVN patch request.

Type: Bugfix

Bugtracker references:
http://bugs.typo3.org/view.php?id=14280

Branches:
trunk

Problem:
Only array values can overwrite array values in 
"t3lib_div::array_merge_recursive_overrule", i.e. if the first array 
contains a key with an array value and the second array contains the 
same key with a simple value then the value of the key in result will be 
the array value from the first array.

Solution:
See attached patch

Best regards,
Mikkel
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: array_merge_recursive_overrule.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100503/b92ce1ad/attachment.asc>


More information about the TYPO3-team-core mailing list